using dd to backup entire hard drive

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
Subject: using dd to backup entire hard drive
I want to back up a linux hard drive completely.

If the hard drive I want to back up is hda and I want to 'clone' the hard drive
to hdb, how would I issue the command?

dd bs=4k /dev/hda /dev/hdb

I want everything, including the mbr to be copied. Is there anything that I
need to worry about if the target hard drive is larger than the source hard
drive? Will the partitions be the same size and the extra space on the target
left unpartitioned?

Thanks,

Craig



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/