anant at kix.in
Tue Feb 20 05:16:25 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
> 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
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
-----END PGP SIGNATURE-----
More information about the plug-mail