RedHat Linux - Cloning a hard disk for backup purposes.
Posted on 2005-04-25
I have RedHat Linux ES 3.0 installed and would like an easy way to clone the hard disk.
Disk that I want to copy is dev/hda and is 80 gig.
I have another 80 gig hard disk of the same make and model which is /dev/hdc.
Both hard disks are located in aluminium removable drive enclosures for easy removal.
Basically I want to be able to plug in the backup drive, make a copy and take it out again. I want it to be an exact copy of the first drive so that if something goes wrong I can just take out my first drive and replace it with my backup, re-boot and everything would work fine.
Can this be done by just booting into single user mode and using the dd command?
dd if=/dev/hda of=/dev/hdc
Is their another or better way to do it?
I am a newbie with Linux so any feedback and suggestions would be greatly appreciated.