How to backup a RHEL installation

Here are messages about how to use partimage from a bootable CDRom / floppy disk.

Moderator: feffer

Post Reply
Posts: 1
Joined: Fri Feb 12, 2010 4:05 pm

How to backup a RHEL installation

Post by fl32256 » Fri Feb 12, 2010 4:09 pm

I have two HDs on our server. On the first HD, i installed RedHat Enterprise Linux. During intallation it was automatically partitioned into two. With the resuce CD how do i backup the RHEL HD with all its partitions into an image onto the second HD ? My plan is to use this image to setup on other servers.

Posts: 126
Joined: Tue Mar 17, 2009 4:30 am

Post by feffer » Fri Feb 12, 2010 8:19 pm

I don't believe partimage works with ext4 partitions, so if your RHEL is formatted that way, you'll need to use another tool. I believe dd handles ext4, and possibly also clonzilla.

If your partitions are both ext3, you could use partimage. Simply clone each partition -- saving your images one at a time. Then restore them to the new hdd. First partition and format the target drive with something like gparted. Make sure the partitions are the same size or larger than the source. Then you can restore the images to the target drive one at a time.

If you need something more automated, or something that will clone the entire drive into one image, then a proprietary solution like Paragon is probably required.

However you clone your drive, some manual tweaking will probably be required: adjust /etc/fstab for different UUIDs, update grub, possibly restore the mbr etc.


Post Reply