Welcome to the Linux Foundation Forum!

Backup/restore hard drive using dd tool

Hello,

I try to make copy (backup) my hard drive with OS (linux). I did it in the following way:


dd if=/dev/sda conv=sync,noerror bs=64K | gzip -c > /mnt/fs/sda.img.gz

where I mounted file share under /mnt/fs.

Then I want restore my copy:

 


gunzip -c /mnt/fs/sda.img.gz | dd of=/dev/sdc conv=sync,noerror bs=64K



and my OS is crashed.. (not working..)

I want to mark - I made the copy from working OS. My hard drive was detected as sda. Restore the copy I made from linux-liveCD and there my hard drive was mounted as sdc. It could be a problem?

Regards,

MikeM

Sign In or Register to comment.