Last active
December 26, 2015 04:19
-
-
Save antespi/7092719 to your computer and use it in GitHub Desktop.
Dump/Restore disk image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dump disk into zip file | |
======================= | |
# /bin/dd if="$DEVICE" conv=sync,noerror bs=64K | /bin/gzip -c > "$FILE" | |
Restore from zip file | |
======================= | |
# gunzip -c "$FILE" | dd of="$DEVICE" conv=sync,noerror bs=64K |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment