Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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).
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):
Distribution: Ubuntu/Debian, CentOS, RHEL, FreeBSD, OS X
Posts: 75
Rep:
Quote:
Originally Posted by charlestsai4001
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.