Backup Hard Disk. - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +---- Forum: Filesystem Management (https://www.linux-noob.com/forums/forum-26.html) +---- Thread: Backup Hard Disk. (/thread-1777.html) |
Backup Hard Disk. - munyit - 2006-10-11 I want to backup my hard disk to another hard disk, how can I do it..? I know we can make it using dd command, but I don't know how the syntax is. I want to copy all the thing from my harddisk to another hard disk. And if possible, including all the setting? Anybody can help me.. thank you... Backup Hard Disk. - anyweb - 2006-10-11 the syntax is as follows dd if= of= so if you hard discs are /dev/sda and /dev/sdb and you wanted to copy the contents of sda to sdb then do as follows Code: dd if=/dev/sda of =/dev/sdb to find out what your hard discs are do this Code: fdisk -l it should display something like this Quote:[root@www ie7]# fdisk -l in the above example there are two hdd's one is /dev/hda the other is /dev/hdb cheers anyweb Backup Hard Disk. - KK Jensen - 2006-12-14 Quote:the syntax is as follows I'm trying to do the same. Does dd copy EVERYTHING including partitions etc etc? Would this new drive be bootable (if I were to copy my current undersized, old and slow drive to a newer, bigger one)? I've only seen the dd command used (in other posts and forums) to copy an image to something...this included the partitions. Backup Hard Disk. - anyweb - 2006-12-14 yes dd copies everything incluing blank space (byte for byte) Backup Hard Disk. - Tyrannus - 2007-07-30 Code: dd if=/dev/sda of=/dev/sdb /dev/sdb is required to be at least the same size or larger in capacity than /dev/sda in order for dd to work. |