Re: How do I back up a running system?
On Fri, Jun 18, 2010 at 2:43 PM, Robert S robert.spam.me.sensel...@gmail.com wrote: I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. Are there any suggestions? A simple script would be nice. What do you want to backup? How much time do you have to restore the backup? Is it a server that needs to be up and running within minutes? Or do you have a few hours to restore the server? I usually use a combination of rsnapshot, mysqldump and an offsite backup program such as CrashPlan. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktikobp1_73vzigudw2xttp4ir8ugaonxhnfnh...@mail.gmail.com
Re: How do I back up a running system?
I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. And what does mondoarchive.log say? Calling MINDI to create boot+data disks Your boot loader is GRUB and it boots from /dev/sda /var/tmp/mondo-temp/tmp.mondo.9418/tmp.mondo.8981 The log gets this far then nothing happens: # tail /var/log/mondo-archive.log You are using Mindi-Linux v2.2.0-r881 to make boot+data disks Analyzing dependency requirements Done. Making complete dependency list 100% |cp: cannot stat `/usr/games/petris': No such file or directory Cannot find /usr/games/petris. You will not be able to play petris during restore. Done. Analyzing your keyboard's configuration. Adding the following keyboard mapping tables: Done. Dropping i686-optimized libraries if appropriate. I am running mondoarchive with the following options: mondoarchive -OiF -k /boot/vmlinuz-2.6.26-2-686 -d /var/tmp/mondoarchive -S /var/tmp/mondo-scratch -T /var/tmp/mondo-temp -E /home /mnt /root/packages /var/cache/apt/archives I don't know what version that is: I run Mindi v2.0.7.2-r2575 and Mondo Archive v2.2.9.3-r2622. If I were in your situation I would download the latest from upstream: http://mondorescue.muskokamug.org/debian/5.0/ because Debian is backleveled, do it again, and then save my mondoarchive + mindi logs in their entirety and post the error and the logs on the mondo forum where the response is excellent: mondo-de...@lists.sourceforge.net and also post what you posted here: your calling parameters, and see what Bruno Cornec says, he is the lead developer and on top of things. The latest version seems to work from the upstream site. I did a restore on a vmware virtual machine and it died during bootup. I didn't have any problems using an older version of vmware. I managed to back my system up successfully using a combination of backupninja and genisoimage. A much cruder but more straightforward approach. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/hvnhbe$r6...@dough.gmane.org
Re: How do I back up a running system?
Robert S wrote: I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. And what does mondoarchive.log say? mondoarchive gets up to here then nothing happens (for several hours): ---evalcall---E--- ---evalcall---1--- Dividing filelist into sets ---evalcall---2--- TASK: [] 97% done; 0:01 to go ---evalcall---E--- ---evalcall---1--- Dividing filelist into sets ---evalcall---2--- TASK: [] 98% done; 0:01 to go ---evalcall---E--- Your backup will occupy one mellion media! (maybe 10) Done. Copying Mondo's core files to the scratch directory Done. Calling MINDI to create boot+data disks Your boot loader is GRUB and it boots from /dev/sda /var/tmp/mondo-temp/tmp.mondo.9418/tmp.mondo.8981 The log gets this far then nothing happens: # tail /var/log/mondo-archive.log You are using Mindi-Linux v2.2.0-r881 to make boot+data disks Analyzing dependency requirements Done. Making complete dependency list 100%|cp: cannot stat `/usr/games/petris': No such file or directory Cannot find /usr/games/petris. You will not be able to play petris during restore. Done. Analyzing your keyboard's configuration. Adding the following keyboard mapping tables: Done. Dropping i686-optimized libraries if appropriate. I am running mondoarchive with the following options: mondoarchive -OiF -k /boot/vmlinuz-2.6.26-2-686 -d /var/tmp/mondoarchive -S /var/tmp/mondo-scratch -T /var/tmp/mondo-temp -E /home /mnt /root/packages /var/cache/apt/archives I get the same result when I run it without the -k option I don't know what version that is: I run Mindi v2.0.7.2-r2575 and Mondo Archive v2.2.9.3-r2622. If I were in your situation I would download the latest from upstream: http://mondorescue.muskokamug.org/debian/5.0/ because Debian is backleveled, do it again, and then save my mondoarchive + mindi logs in their entirety and post the error and the logs on the mondo forum where the response is excellent: mondo-de...@lists.sourceforge.net and also post what you posted here: your calling parameters, and see what Bruno Cornec says, he is the lead developer and on top of things. Hugo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/hvj0cu$fu...@dough.gmane.org
How do I back up a running system?
I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. Are there any suggestions? A simple script would be nice. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/hvfpmg$m5...@dough.gmane.org
Re: How do I back up a running system?
Hello, have you given a try to backup2l ? hth, Jerome On 18/06/10 20:43, Robert S wrote: I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. Are there any suggestions? A simple script would be nice. -- Jerome BENOIT jgmbenoit-at+rezozer*dot_net -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c1b6c74.1050...@rezozer.net
Re: How do I back up a running system?
On 06/18/2010 07:43 AM, Robert S wrote: I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. Could you shut down the relevant services and *then* back up your data? Are there any suggestions? A simple script would be nice. *Simple* script? No. We can give you some pointers, though. -- Seek truth from facts. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c1b85f7.5090...@cox.net
Re: How do I back up a running system?
On Fri, 18 Jun 2010, Robert S wrote: I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. Hi Robert. If you're using the XFS filesystem then xfsdump is guaranteed to provide consistent backups even if used on a read-write mounted filesystem. This has been confirmed by the developers several times in public and is consistent with my own DR tests. If you're using another filesystem then you could consider using LVM snapshots. Quite a lot of backup utils are LVM snapshot aware and can use this feature if available. Are there any suggestions? A simple script would be nice. I use custom backup scripts in a lot of places. I suppose they would be described as fairly complex. The backup server sshes to the server to be backed up, executes the backup command (xfsdump, tar, whatever) and streams the data over the network via STDOUT. On the other end of the link the data is captured and written to the filesystem as a backup. Backups of Unix filesystems have been done this way for decades (using rsh rather than ssh in the old days of course). I go in to a little more detail about this in my backup talk: http://www.timetraveller.org/talks/backup_talk.pdf Cheers, Rob -- Email: rob...@timetraveller.org Linux counter ID #16440 IRC: Solver (OFTC Freenode) Web: http://www.practicalsysadmin.com Open Source: The revolution that silently changed the world -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.deb.1.10.1006181118380.26...@castor.opentrend.net
Re: How do I back up a running system?
On Fri, 18 Jun 2010 22:43:56 +1000, Robert S wrote: I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. Are there any suggestions? A simple script would be nice. Mmm, it seems that someone somewhere has wondered the same as you: *** Clone a working Linux server http://serverfault.com/questions/80205/clone-a-working-linux-server *** Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.06.18.17.57...@gmail.com
Re: How do I back up a running system?
Robert S wrote: I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. And what does mondoarchive.log say? Hugo Are there any suggestions? A simple script would be nice. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/hvgcin$i...@dough.gmane.org
Re: How do I back up a running system?
On Jun 18, 2010, at 8:43 AM, Robert S wrote: I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. Are there any suggestions? A simple script would be nice. Not open source but free, I use the vmware converter to clone live Linux boxes to ESXi. I've had no problems with both Debian and Slackware. - Niles -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/dce369df-5840-4d2d-acf7-189ddeb0c...@atheos.net
Re: How do I back up a running system?
I have debian running on a headless system. I'd like to back the entire system up. Its difficult with a bootable disk without a monitor (so Clonezilla etc are out). I've tried mondoarchive but it usually bails out before it completes the backup. And what does mondoarchive.log say? mondoarchive gets up to here then nothing happens (for several hours): ---evalcall---E--- ---evalcall---1--- Dividing filelist into sets ---evalcall---2--- TASK: [] 97% done; 0:01 to go ---evalcall---E--- ---evalcall---1--- Dividing filelist into sets ---evalcall---2--- TASK: [] 98% done; 0:01 to go ---evalcall---E--- Your backup will occupy one mellion media! (maybe 10) Done. Copying Mondo's core files to the scratch directory Done. Calling MINDI to create boot+data disks Your boot loader is GRUB and it boots from /dev/sda /var/tmp/mondo-temp/tmp.mondo.9418/tmp.mondo.8981 The log gets this far then nothing happens: # tail /var/log/mondo-archive.log You are using Mindi-Linux v2.2.0-r881 to make boot+data disks Analyzing dependency requirements Done. Making complete dependency list 100%|cp: cannot stat `/usr/games/petris': No such file or directory Cannot find /usr/games/petris. You will not be able to play petris during restore. Done. Analyzing your keyboard's configuration. Adding the following keyboard mapping tables: Done. Dropping i686-optimized libraries if appropriate. I am running mondoarchive with the following options: mondoarchive -OiF -k /boot/vmlinuz-2.6.26-2-686 -d /var/tmp/mondoarchive -S /var/tmp/mondo-scratch -T /var/tmp/mondo-temp -E /home /mnt /root/packages /var/cache/apt/archives I get the same result when I run it without the -k option -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/hvhjcc$ju...@dough.gmane.org