Sparse file

From UVOO Tech Wiki
Jump to navigation Jump to search

https://unix.stackexchange.com/questions/17087/clone-whole-partition-or-hard-drive-to-a-sparse-file

dd_rescue -a -b 8M /dev/sda1 /mount/external/backup/sda1.raw The copy may be interrupted at any time by Ctrl-C, showing the current position. This value can be used, when restarting by adding -s and the position to the original command, e.g.

dd_rescue -a -b 8M -s 42000k /dev/sda1 /mount/external/backup/sda1.raw

virt-sparsify