dd use

Koh Choon Lin sgfreedom at gmail.com
Sun Dec 28 14:31:47 UTC 2008


> ... and compress the stuff along the way:
>
> dd if=/dev/sda1 bs=1m | gzip -c > /mnt/sdb1/<filename>.gz

Without compression, the file would be taking up way too much space
with the holes in the filesystem.

To restore, just reverse the input/output of the dd command.



Koh Choon Lin




More information about the ubuntu-users mailing list