Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cloning a rh9

Status
Not open for further replies.

scottRen

Technical User
Feb 4, 2005
69
CA
how does one back up a linux server RH9 on to a bigger hardrive, i kinda want to "clone" the machine onto a new machine of identicle components with just a bigger hard drive, the machine is used for
mail server,ftp and web hosting
 
dd the partition to a file, and dd it back on the new HD, run resize2fs to resize it to its maximum size, and finally run fsck over it. Sorry that i cant provide an example dd line, i dunno.
Alternative is, simply cp -a (cp -Rdp) (-x) everything from the first to the second partition.

. Mac for productivity
.. Linux for developement
... Windows for solitaire
 
A slightly easier and commercial way is use Acronis TrueImage which can be run from a CDR or from Linux natively. Works just like ghost with a friendly front end. It will actively resize or keep the partition the same size during the restore process. You can also mount the image later as a logical drive to get a file or two. This way you have the upgrade and a snapshot backup to fallback on to.

MikeS

Find me at
"Take advantage of the enemy's unreadiness, make your way by unexpected routes, and attack unguarded spots."
Sun Tzu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top