Hi,
After some months of configuring and testing a small server, think that would be nice to make a full server restore-point image in order to recover it if something goes wrong in the future, just restoring the image back and not making the full install and configure process all over again. The server uses Logical Volumes.
I was thinking on using the CentOS LiveCD and then use dd command to clone all partitions to another storage device. But I have no experience on this.
What do you suggest ?
Cheers,
al.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Alain Reguera Delgado wrote:
I was thinking on using the CentOS LiveCD and then use dd command to clone all partitions to another storage device. But I have no experience on this.
You could also check out Ghost 4 Linux. I've used it to clone hard drives before, and it's very easy to use. I believe you can even use it across the net with NFS and such.
Boot it up, and basically tell it to clone the entire drive or you can pick whatever partitions you want too.
http://sourceforge.net/projects/g4l
Regards, Max
Alain Reguera Delgado wrote:
Hi,
After some months of configuring and testing a small server, think that would be nice to make a full server restore-point image in order to recover it if something goes wrong in the future, just restoring the image back and not making the full install and configure process all over again. The server uses Logical Volumes.
I was thinking on using the CentOS LiveCD and then use dd command to clone all partitions to another storage device. But I have no experience on this.
What do you suggest ?
Yes, if you have an identical drive, booting a CD and dd'ing the whole image is an easy way to do it. You can use the install CD if you enter 'linux rescue' at the boot prompt.
The 'clonezilla live' cd from http://clonezilla.sourceforge.net/ will work over the network if you have somewhere you can reach with ssh to store the image but it doesn't work with software raid devices.
On 03/08/2007, at 7:01 AM, Les Mikesell wrote:
Alain Reguera Delgado wrote:
Hi, After some months of configuring and testing a small server, think that would be nice to make a full server restore-point image in order to recover it if something goes wrong in the future, just restoring the image back and not making the full install and configure process all over again. The server uses Logical Volumes. I was thinking on using the CentOS LiveCD and then use dd command to clone all partitions to another storage device. But I have no experience on this. What do you suggest ?
Yes, if you have an identical drive, booting a CD and dd'ing the whole image is an easy way to do it. You can use the install CD if you enter 'linux rescue' at the boot prompt.
Does this work if the hard drive isn't exactly identical?
I've previously done something similar to this from a hardware RAID5 array to a single SATA drive.
I basically attached the SATA drive to the system, booted into single user mode, then DD'ed the RAID array to the SATA drive.
The SATA drive was big enough to take all of the data from the RAID array, and indeed DD indicated that this had occurred once it completed.
-- Michael
On Thu, 2007-08-02 at 16:26 -0400, Alain Reguera Delgado wrote:
Hi,
After some months of configuring and testing a small server, think that would be nice to make a full server restore-point image in order to recover it if something goes wrong in the future, just restoring the image back and not making the full install and configure process all over again. The server uses Logical Volumes.
I was thinking on using the CentOS LiveCD and then use dd command to clone all partitions to another storage device. But I have no experience on this.
What do you suggest ?
Mondo Rescue http://www.mondorescue.org/ is something I've used in the past. It can make a boot CD or DVD that can be used to restore your system from bare metal, it was pretty slick the time I used it.
Regards, Paul Berger
Cheers,
al. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thursday 02 August 2007 22:26:48 Alain Reguera Delgado wrote:
Hi,
After some months of configuring and testing a small server, think that would be nice to make a full server restore-point image in order to recover it if something goes wrong in the future, just restoring the image back and not making the full install and configure process all over again. The server uses Logical Volumes.
I was thinking on using the CentOS LiveCD and then use dd command to clone all partitions to another storage device. But I have no experience on this.
What do you suggest ?
I would give partimabge a try. I was using it several times, and it's really simple and efficient. The only problem you can hit is your hardware RAID controller not being recognized. You can make images of partitions, and recover them (even to disks with different geometry) easily.
Regards,