Created
October 14, 2014 01:09
-
-
Save Qalthos/8569c8c8de2059c1f75d to your computer and use it in GitHub Desktop.
backup hdd
This file contains hidden or 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
# Mount drive here | |
dd if=/dev/zero of=/path/to/mount/zero | |
# Unmount drive here | |
sudo dd if=/dev/whatever bs=4k | pv | 7za a -si -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on archive.7z -bd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now to use this to back up Zack's hard drive :-)