Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
backup full SD card as a img.gz file onto another server over SSH on-the-fly
$ dd if=/dev/mmcblk0 of=/dev/stdout | ssh pahud@192.168.31.193 "cat - | gzip - > x.img.gz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment