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:


  1. 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:

 


  1. 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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training