backup

CouchDB backups and cloning the database

会有一股神秘感。 提交于 2019-12-03 03:37:26
问题 We're looking at CouchdDB for a CMS-ish application. What are some common patterns, best practices and workflow advice surrounding backing up our production database? I'm particularly interested in the process of cloning the database for use in development and testing. Is it sufficient to just copy the files on disk out from under a live running instance? Can you clone database data between two live running instances? Advice and description of the techniques you use will be greatly

Is there (an automated) way to backup Hudson CI files?

此生再无相见时 提交于 2019-12-03 03:10:41
Here at my company we have three Hudson CI servers with 100+ jobs configured. We are looking for an automated way to periodically backup job configurations and build history. Currently we have an ant script that we configure as a job but it's not easy to maintain and not elegant. Have any of you found a way to manage this? There is a Backup Plugin . I don't believe that it supports scheduling of periodic backups, but you might be able to trigger it by accessing it through the URL (like some other Hudson remote APIs), in which case you might be able to simply set up a cron job to ping the URL.

How to take container snapshots in docker

≡放荡痞女 提交于 2019-12-03 02:57:34
问题 How do we take container snapshots and load the snapshot in another docker host . I like to know the container snapshoting and not for image. I get confused with export/import and save/load commands in docker. I like to get more clarity or doc to understand them more deeply . The snapshot to have the metadata to run the container and the roofs . The exact state to be there in the other docker host. Help in this direction would be great. 回答1: The command docker commit takes a snapshot of your

what is the proper way to backup/restore a mnesia database?

喜你入骨 提交于 2019-12-03 02:09:06
WARNING: the background info is pretty long. Skip to the bottom if you think you need the question before the background info. Appreciate the time this is gonna take! I've been all over the web (read google) and I have not found a good answer. YES, there are plenty of links and references to the Mnesia documentation on the erlang.org site but even those links suffer from version-itis. So in the simplest case where the node() you are currently connected to is the same as the owner of the table set then the backup/restore is going to work. For example: $ erl -sname mydatabase > mnesia:start(). >

How do I Backup / Move LXC containers?

£可爱£侵袭症+ 提交于 2019-12-03 01:32:28
问题 I want to take lxc container backup. We have server with 12.04 LTS ubuntu server and I have installed LXC - 1.0.0.alpha2 in it. I wanted to update our ubuntu server to 14.04 LTS. So what I want to do is have LXC containers backed up -> upgrade OS to 14.04 -> restore LXC containers. With earlier version(0.7.5 I guess) there was lxc-backup and lxc-restore but with 1.0.0.alpha2 we don't have backup and restore operations. How can I have lxc containers backup. I spent more than 3 hours with copy

copy all files and folders from one drive to another drive using DOS (command prompt)

情到浓时终转凉″ 提交于 2019-12-03 01:12:22
问题 i want to copy all files and folders from one drive to another drive using MS-DOS. How to do it? I am trying xcopy I:\*.* N:\ But it copies only files, not folders. So how to copy all files and folders both? Thanks. 回答1: Use xcopy /s I:\*.* N:\ This is should do. 回答2: xcopy c:\ d:\ /h/i/c/k/e/r/y Use the above command. It will definitely work. In this command data will be copied from c:\ to D:\, even folders and system files as well. Here's what the flags do: /h copies hidden and system files

How to backup SVN repository? [duplicate]

与世无争的帅哥 提交于 2019-12-03 00:15:07
This question already has answers here : SVN repository backup strategies (19 answers) I often hear that having an SVN repository doesn't cancel need for backups. How is such backup done? I mean the repository will inflate over time, won't it? So do I back it up as a whole every time or what do I do? What's the easiest way to do such backups? I've used svnadmin with hotcopy . svnadmin hotcopy repopath backupdestination You can also use the svnadmin dump command . You could use svnadmin dump . For example, to create a compressed backup file in Linux run: svnadmin dump -q /path/to/repo | bzip2

How to decrypt an encrypted Apple iTunes iPhone backup?

自作多情 提交于 2019-12-03 00:00:19
问题 I've been asked by a number of unfortunate iPhone users to help them restore data from their iTunes backups. This is easy when they are unencrypted, but not when they are encrypted, whether or not the password is known. As such, I'm trying to figure out the encryption scheme used on mddata and mdinfo files when encrypted. I have no problems reading these files otherwise, and have built some robust C# libraries for doing so. (If you're able to help, I don't care which language you use. It's

Backup/Restore a dockerized PostgreSQL database

爱⌒轻易说出口 提交于 2019-12-03 00:00:01
问题 I'm trying to backup/restore a PostgreSQL database as is explained on the Docker website, but the data is not restored. The volumes used by the database image are: VOLUME ["/etc/postgresql", "/var/log/postgresql", "/var/lib/postgresql"] and the CMD is: CMD ["/usr/lib/postgresql/9.3/bin/postgres", "-D", "/var/lib/postgresql/9.3/main", "-c", "config_file=/etc/postgresql/9.3/main/postgresql.conf"] I create the DB container with this command: docker run -it --name "$DB_CONTAINER_NAME" -d "$DB

Automatically Backup MySQL database on linux server

你离开我真会死。 提交于 2019-12-02 23:59:10
I need a script that automatically makes a backup of a MySql Database. I know there are a lot of posts and scripts out there on this topic already but here is where mine differs. The script needs to run on the machine hosting the MySql database (It is a linux machine). The backups must be saved onto the same server that the database is on. A backup needs to be made every 30 minutes. When a backup is older than a week it is deleted unless it is the very first backup created that week. i.e out of these backups backup_1_12_2010_0-00_Mon.db, backup_1_12_2010_0-30_Mon.db, backup_1_12_2010_1-00_Mon