If I were to lose my main hard drive, I would like to have the opportunity to do the same as I can do using Windows: restore from my USB and have a working system. If I were to rsync everything on the main drive (excluding the backup drive, of course and a few other directories) to my USB drive, could I restore using some CD based version of Linux e.g. Knoppix? Todd -- Ariste Software 2200 D Street Ext Petaluma, CA 94952 (707) 773-4523
Hello Todd, Give a look at the G4L project ( http://sourceforge.net/projects/g4l ), maybe it is what you looking for... Regards! On Tue, 2007-01-30 at 16:59 -0800, Todd Cary wrote:> If I were to lose my main hard drive, I would like to have the > opportunity to do the same as I can do using Windows: restore from my > USB and have a working system. > > If I were to rsync everything on the main drive (excluding the backup > drive, of course and a few other directories) to my USB drive, could I > restore using some CD based version of Linux e.g. Knoppix? > > Todd >
Todd Cary wrote:> If I were to lose my main hard drive, I would like to have the > opportunity to do the same as I can do using Windows: restore from my > USB and have a working system. > > If I were to rsync everything on the main drive (excluding the backup > drive, of course and a few other directories) to my USB drive, could I > restore using some CD based version of Linux e.g. Knoppix? > > ToddTodd, I've used Ghost for Linux with great success, Windows machines as well. Read up about it here: http://freshmeat.net/projects/g4l/ Thanks! Mark Schoonover IS Manager American Geotechnical V: 858-450-4040 - F: 714-685-3909 - C: 858-472-3816 "Stop the Earth!! I want off!!"
Todd Cary wrote:> If I were to lose my main hard drive, I would like to have the > opportunity to do the same as I can do using Windows: restore from my > USB and have a working system. > > If I were to rsync everything on the main drive (excluding the backup > drive, of course and a few other directories) to my USB drive, could I > restore using some CD based version of Linux e.g. Knoppix?There is partimage-static on DAG's repo, but it cannot 'look' into a LVM partition, it seems. And I need that....> > Todd >
Todd Cary wrote:> If I were to lose my main hard drive, I would like to have the > opportunity to do the same as I can do using Windows: restore from my > USB and have a working system. > > If I were to rsync everything on the main drive (excluding the backup > drive, of course and a few other directories) to my USB drive, could I > restore using some CD based version of Linux e.g. Knoppix?I tend to use dump / restore for full filesystem backups. Probably something I got in the habit of doing when I was administrating Solaris systems (where its ufsdump, ufsrestore) init 1 umount /boot /var /home dump 0uzf /mnt/root.dump.z / dump 0uzf /mnt/boot.dump.z /boot dump 0uzf /mnt/var.dump.z /var dump 0uzf /mnt/home.dump.z /home ... to restore, boot a live or rescue CD, partition the new drive, mount the media with the dumps, and... mkfs /dev/sda2 && mount /dev/sda2 /new cd /new && restore rvf /mnt/root.dump.z mkfs /dev/sda1 && mount /dev/sda1 /new/boot cd /new/boot && restore rvf /mnt/boot.dump.z mkfs /dev/sda3 && mount /dev/sda3 /new/var cd /new/var && restore rvf /mnt/var.dump.z etc. you also need to ensure the master boot record and partition boot record are properly setup on the drive.
> -----Original Message----- > From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of Todd Cary > Sent: Tuesday, January 30, 2007 8:00 PM > To: CentOS mailing list > Subject: [CentOS] The equivalent of Ghosting the system > > If I were to lose my main hard drive, I would like to have the > opportunity to do the same as I can do using Windows: restore from my > USB and have a working system. > > If I were to rsync everything on the main drive (excluding the backup > drive, of course and a few other directories) to my USB > drive, could I > restore using some CD based version of Linux e.g. Knoppix?Good old tar works well here. If you have a big enough USB drive, but you can tar up different parts of the tree onto different memory sticks. Just boot into a recovery CD. Re-setup your partitions, mirrors etc. Format them. Un-tar into them. Run grub/lilo whatever to install the bootloader. Reboot, and voila! To reduce time and size of backup/restore you can use rpm with the audit flag to find all files that have changed from the original rpm, tar only those. Save a list of RPMs installed, make a kickstart floppy of the list. Tar up user files. Re-install OS, using kickstart floppy. Un-tar the config files, un-tar the user files and away you go. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.