backup

backup/snapshot a vm image (vhd) in windows azure

99封情书 提交于 2019-12-09 17:50:02
问题 I was wondering if anyone had any information on how to backup a vm image that has been uploaded to the cloud. There is an option to revert to the initial state. However, it would be extremely handy if a snapshot could be taken or if the vhd could be downloaded again. Any input would be welcome. Thanks 回答1: This is not possible today. (Adding more text to reach the 30-character requirement. Huh?) 回答2: But now it is... ;-) https://www.windowsazure.com/en-us/manage/linux/how-to-guides/capture

How to dump/backup a Solr index to a file?

一曲冷凌霜 提交于 2019-12-09 14:32:52
问题 I'm running a Virtual Private Server where, every day at midnight, all files are backed up automatically by the VPS provider. So I need to export the Solr index to a file, so that if something goes wrong someday, I'll be able to import it back to Solr with ease. How can I do this? 回答1: The Solr database IS a (or a couple of) file(s). There is a folder that looks something like this: root@vs210044:/home/solr/apache-solr-1.4.0/example/solr/data/index# ls segments.gen _xzy.tii _y26.tii _y4f.tii

SQL Server backup&restore

半世苍凉 提交于 2019-12-09 12:24:30
问题 backup string connectionString1 = (@"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|Database1.mdf;Database=Database1;Integrated Security=True; User Instance=True"); SqlConnection cn = new SqlConnection(connectionString1); cn.Open(); SqlCommand cmd = new SqlCommand(); SqlDataReader reader; cmd.CommandText = @"BACKUP DATABASE Database1 TO DISK = 'C:\SRI2Works.bak'"; cmd.CommandType = CommandType.Text; cmd.Connection = cn; reader = cmd.ExecuteReader(); cn.Close(); MessageBox.Show(

Best practices for MySQL backup

醉酒当歌 提交于 2019-12-09 06:07:09
问题 I need to backup the MySQL database on my current system. I am using the mysqldump command in a cron job using a shell script. Here is roughly what I do: #!/bin/bash fileName=$(date +%H-%M) mysqldump -ubackup -hserver1.local.com -A database1 > /backup/$filename.sql This take about 1 hour to complete so my question is this: I need to compress the data so i would like to know if I should first back up the file as pure sql then compress it or should I compress it right away from the mysqldump

Good Secure Backups Developers at Home [closed]

风格不统一 提交于 2019-12-09 04:05:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . What is a good, secure, method to do backups, for programmers who do research & development at home and cannot afford to lose any work? Conditions: The backups must ALWAYS be within reasonably easy reach. Internet connection cannot be guaranteed to be always available. The solution must be either FREE or priced

How to compare 2 volumes and list modified files?

穿精又带淫゛_ 提交于 2019-12-09 03:18:17
问题 I have 2 hard-disk volumes(one is a backup image of the other), I want to compare the volumes and list all the modified files, so that the user can select the ones he/she wants to roll-back. Currently I'm recursing through the new volume and comparing each file's time-stamps to the old volume's files (if they are int the old volume). Obviously this is a blunder approach. It's time consuming and wrong! Is there an efficient way to do it? EDIT: - I'm using FindFirstFile and likes to recurse the

Backing up, Deleting, Restoring Elasticsearch Indexes By Index Folder

与世无争的帅哥 提交于 2019-12-08 21:47:52
问题 Most of the ElasticSearch documentation discusses working with the indexes through the REST API - is there any reason I can't simply move or delete index folders from the disk? 回答1: You can move data around on disk, to a point - If Elasticsearch is running, it is never a good idea to move or delete the index folders, because Elasticsearch will not know what happened to the data, and you will get all kinds of FileNotFoundExceptions in the logs as well as indices that are red until you manually

Database Backup/Restore Process

两盒软妹~` 提交于 2019-12-08 18:41:37
问题 The backup and restore process of a large database or collection of databases on sql server is very important for disaster & recovery purposes. However, I have not found a robust solution that will guarantee the whole process is as efficient as possible, 100% reliable and easily maintainable and configurable accross multiple servers. Microsft's Maintenance Plans doesn't seem to be sufficient. The best solution I have used is one that I created manually using many jobs with many steps per

How to setup weekly auto backup in SQL Server 2012?

我只是一个虾纸丫 提交于 2019-12-08 18:33:22
问题 Please advice how can i setup automated database backup in my SQL Server 2012. I need to take all databases (currently it contains only 3 ) in SQL server an automated weekly backup which runs on Every Friday at 0100 h (1 AM). These back up files (*.bak) should be placed in E:\Backups folder. 回答1: In Microsoft SQL Server Management Studio , open the Object Explorer and then: Right-clic on Management > Maintenance Plans Clic on New Maintenance Plan... Give a name to your plan Create as many

Can I schedule backups using the Heroku PG Backup add-on?

*爱你&永不变心* 提交于 2019-12-08 18:00:48
问题 I have been using PG Backups add-on recently and everything has worked fine, however this morning the backup process triggered at 10:00 A.M. in the morning generating some blocks and timeouts in my application. Is there a way to specify the schedule of the backups made with this add-on? I've been searching and haven't found anything specific. 回答1: Use Cron for Manual Backup Scheduling Heroku gives you two types of backups: automated and user-initiated. Each plan has a different number of