Making an image of my HDD



Hello gurus,

I'm considering doing some dangerous tinkering with my laptop. I have regular backups of /root /boot /etc and /home, but would like to make a complete image of the drive as well. Ideally, what I want to do is boot from a cd, dd the drive to a file on my workstation via ssh in such a way that I can dd it back later if anything goes wrong. But before I risk my precious laptop on this, I wanted to double-check my dd command with you guys:

dd if=${device} conv=sync,noerror bs=64K | ssh -l ${user} ${host} "dd of=file.bin bs=64K"

Any gurus out there can verify whether this is a safe way to do it?

Thanks,

Michael


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: help, ive broken my linux but it still boots up!
    ... hunky-dorry until this evening when i turned on my laptop and was ... greeted with several seconds of this during the boot up process. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Shut down or leave on?
    ... The stress created during the cool down and heat up cycle, between powering ... there just isn't the realestate available in a laptop. ... > trouble none with mine; nor is it given to us in this life to know ... > with a subject of "unsubscribe". ...
    (Debian-User)
  • diskload install?
    ... I have an old laptop which i've been trying to install debian onto, but since it neither has cd or floppy or the ability to boot from usbdevices, i figured i could take out the harddrive and put it onto a usb-ide adapter and load it through my other computer. ... It worked well until I get to the bootloaderpart i guess, I downloaded the baseparts and copied the files to the disk after making a ext3 system, but when trying to put grub on it, it seems to work, but grub doesnt turn up when I remount it back into the laptop and tries to boot. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: diskload install?
    ... I have an old laptop which i've been trying to install debian onto, ... doesnt turn up when I remount it back into the laptop and tries to boot. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • A laptop installation challenge
    ... I had polled some advice on the best way to install Debian on an old laptop that lacked a CD drive. ... Googling this message throws back a number of suggested solutions which break down into one of two choices - changing the lilo.conf file (difficult since I cannot get into the lilo.conf due to the system having been locked at boot up) and using a rescue CD. ... I cannot ssh into the laptop because it hasn't booted and so I am left with a laptop that cannot boot, cannot use a CD disk to boot and which is fundamentally useless. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)