Dienstag, 9. Juli 2013
How to save a partition via network to a different computer and later restore that partition after formatting the local disc
How to save a partition via network to a different computer and later restore that partition after
formatting the local disc?
1) try to unmount the partition if possible
2) dd if=/dev/hda1 bs=1k conv=sync,noerror | gzip -c | ssh -c blowfish user@hostname "dd of=filename.gz bs=1k"
3) format or do whatever you want to do with /dev/hda1
4) go to the remote computer "hostname" and execute following command there:
dd if=filename.gz | ssh -c blowfish root@deadhost "gunzip -c | dd of=/dev/hda1 bs=1k"
Thanks a lot to http://www.inference.phy.cam.ac.uk/saw27/notes/backup-hard-disk-partitions.html
for this and many more useful tips!
Abonnieren
Kommentare zum Post (Atom)
Keine Kommentare:
Kommentar veröffentlichen