On Fri, 2006-06-09 at 13:45 +0200, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2006-06-09 at 09:41 +0200, Leendert Meyer wrote:
about using dd to make a backup image. I understand how to create the image, but could you (or someone) tell me how to restore from the image if it should be necessary.
'if' means in-file, 'of' means out-file. Just swap the filenames:
dd of=/dev/hda if=hda.img or dd of=/dev/hda21 if=hda21.img
Works only if you write it to the disk where it came from.
Thanks Leen, man dd does not give much insight how this works and like most man files is only really useful if you are already have a reasonable understanding of how the command works. As it turned out I can now delete the .img file, because I have successfully recovered the deleted data from the original partition. Again, many thanks for the pointers.
Otherwise, just make a standard file copy of everything in the partition. Or a compressed one.
Thanks for the suggestion Carlos, but I think you missed the earlier parts of this thread. A standard file copy was not possible, because the dd .img file was a backup of a partition where all the files had been deleted. Regards Dave -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com