[PLUG] partimage

Anant Narayanan anant at kix.in
Tue Feb 20 05:16:25 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> While using partimage to backup a partition say /dev/hda5 to
> /dev/hda6....does all data on /dev/hda6 get wiped off ? Will the
> backup work to say /dev/hda6/backup ?

Partimage generates a one-to-one copy of all the disk blocks that  
contain some data on a partition. So when you make an image of /dev/ 
hda5 and restore it to /dev/hda6 you will lose all your data on /dev/ 
hda6 and it will also inherit all the characteristics on /dev/hda5,  
including the filesystem.

As for restoring to something like /dev/hda6/backup, it doesn't make  
sense since you're now restoring data to a file and all you will be  
left with a binary blob. This is similar to doing `dd if=/dev/hda5  
of=/mnt/hda6/backup'

Seems like you're trying to make a backup of your files, and so if  
you're not interested in maintaining partition attributes, use an  
alternative file-based backup software instead of partimage.

- --
Anant
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF2vSqTon3xA72kU4RAtWxAJ9e5u3cjh4pr+vwnZIQimE4j8xcZQCeINKs
EJ1oVcF+c/Hgo3BT2z0ijgE=
=5B1L
-----END PGP SIGNATURE-----



More information about the plug-mail mailing list