Created
April 3, 2015 09:15
-
-
Save pahud/92803665fdaf941a8ce0 to your computer and use it in GitHub Desktop.
backup full SD card as a img.gz file onto another server over SSH on-the-fly
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
$ dd if=/dev/mmcblk0 of=/dev/stdout | ssh [email protected] "cat - | gzip - > x.img.gz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment