PuppyLinux : BackupHDD

PuppyLinuxMainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Backup Hard Disk Drive

Using dd to back up and restore disk partitions and even whole disks

dd if=/dev/hda1 of=/hdimage.raw

will pull the first partion of the first drive (normal windows drive C:) into a file /hdimage.raw

dd if=/dev/hda2 of=/hdimage.raw

will pull the second partion of the first drive.

dd if=/dev/hda3 of=/hdimage.raw

will pull the third partion of the first drive.

dd if=/dev/hdb1 of=/hdimage.raw

will pull the first partion of the second drive.

dd if=/dev/hdb2 of=/hdimage.raw

will pull the second partion of the second drive.

bigger better uncut:

dd if=/dev/hda of=/hdfullimage.raw

will pull total drive with boot MBR included

other methods.

growisofs uses dd to burn direct to DVD
growisofs -Z /dev/dvd=/dev/hda

will burn the first 4.7GiB of the first drive directly to DVD in raw format.

this does back up full HD including MBR, hidden Windows storage & unused cruff. The resulting disk image is restored.
after DVD is burned the HD image is restored with
dd if=/dev/dvd of=/dev/hda


Simple as can be, now package a nice complicated GUI around it and sell it for big bucks!!

One minor flaw and its all my fault. If you backup WinXP then upgrade your LAN & DVD firmware, install new video card. and then hopelessly screwup your windows install. Do not reuse earlier backup, I did and it force a 3 day only forced re-activate of my windows machine, so I am hosed for about three months (I reinstalled it two months-ago). Lession learned [b]firmware upgrades changes[/b] the way the hardware reports to windows. Puppy rules badly hosed puppy is only a mv command and reboot away 2 minutes max!

This page is suggested by http://www.murga.org/~puppy/viewtopic.php?p=29752#29752.

See also:
http://wiki.linuxquestions.org/wiki/Dd
esp. the links at the end!


Categories
CategoryDocumentation

There are 2 comments on this page. [Display comments]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.2363 seconds