Skip to content

Instantly share code, notes, and snippets.

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@ "cat - | gzip - > x.img.gz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment