Skip to content

Instantly share code, notes, and snippets.

@josephfinlayson
Last active December 27, 2015 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josephfinlayson/7283759 to your computer and use it in GitHub Desktop.
Save josephfinlayson/7283759 to your computer and use it in GitHub Desktop.
backup SD card image of pi
sudo fdisk -l
//find active sd card
// copy image over
ssh pi@raspberry sudo dd if=/dev/mmcblk0 | gzip -c > raspberry.img.gz
@josephfinlayson
Copy link
Author

xz is rubbish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment