Backing up a nearly dead HDD

Jonathan Dieter jdieter at gmail.com
Tue Nov 27 15:43:12 UTC 2007


On Tue, 2007-11-27 at 07:34 -0800, Randy Wyatt wrote:

>          >
>          > Is there a way I can copy everything from one drive to
>         another and keep the
>          > permissions from a dodgy drive to a working one? cp -ar
>         seems an option, but
>          > it takes a while! 
>         
>         
>         The traditional fast way is "dump -f - | restore -f -" [*] but
>         I'm not
>         sure dump handles extended attributes correctly.
>         
>         Andrew.
> 
> 
> Why not use dd?  if you are replacing a drive with a similar drive, dd
> is perfect. 

I'd suggest dd_rescue.  When it hits a bad sector, it lowers its block
size and retries, thus (hopefully) retrieving more data.

Jonathan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20071127/5f6cf687/attachment.sig>


More information about the fedora-devel-list mailing list