LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux full Hard disk backup or mirror (http://www.linuxquestions.org/questions/linux-newbie-8/linux-full-hard-disk-backup-or-mirror-621205/)

charlestsai4001 02-14-2008 08:32 PM

Linux full Hard disk backup or mirror
 
Is there a better solution for Linux full hard disk backup or mirror. Because I am planning to change my
Linux server's hard disk (I don't want to re-install
and re-config all the setting).
My system is Fedora Core5, SCSI HDD *4 (Raid 5+hot spare)
Dell Poweredge 2850 server.
Is there any opensource software for this function like Windows ghost? Please advised.
Thanks

bigrigdriver 02-14-2008 08:47 PM

The dd command can make an exact copy of one disk to another. There is a long-running thred at LQ in re using the dd command. It will clone everything from the MBR to the end of the object disk (or the target disk if it's smaller than the object disk).

innoshare 07-08-2010 03:09 PM

Try netcat + dd
 
Netcat is also a really handy utility for cloning drives as it allows you to do the transfer over the network (make sure you have a fast connection) without putting copy-from and copy-to drives in the same machine.

Basically, you do do this...

On the machine you are copying from:
Code:

dd if=/dev/sda | nc 10.1.1.2 9000
On the machine you are copying to (assume ip is 10.1.1.2):
Code:

nc -l -p 9000 | dd of=/dev/sda
__________________
Atlanta Georgia Search Engine Optimization | Atlanta Website Design

alpha01 07-08-2010 07:47 PM

Quote:

Originally Posted by charlestsai4001 (Post 3057421)
Is there a better solution for Linux full hard disk backup or mirror. Because I am planning to change my
Linux server's hard disk (I don't want to re-install
and re-config all the setting).
My system is Fedora Core5, SCSI HDD *4 (Raid 5+hot spare)
Dell Poweredge 2850 server.
Is there any opensource software for this function like Windows ghost? Please advised.
Thanks


If you need a bit by bit copy of your current hard drive (clone), essentially the following example command accomplishes it:
Code:

dd if=/dev/sda of=/dev/sdb
This assumes sda is the drive your cloning and sde is the backup.

FredGSanford 07-08-2010 07:54 PM

Also there are Partimage and Clonezilla...

Just noticed you mention a scsi hdd, they may not work with those, sorry.


All times are GMT -5. The time now is 09:04 PM.