Created
February 3, 2016 21:13
-
-
Save dado-prateek/19e3ee5dd6e2a1294fcc to your computer and use it in GitHub Desktop.
RaspberryPi backup with dd
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
# source: https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=46911 | |
# backup | |
sudo dd bs=4M if=/dev/sdd | gzip > raspbian-`date +%d%m%y`.img.gz | |
# restore | |
gzip -dc image.gz | sudo dd bs=4M of=/dev/sdd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment