Our crew is replaceable. Your package isn't.

SD Card

Wed 10 June 2015

Backup and Restore

Use the dd command to make a full backup of the image:

dd if=/dev/sdx of=/path/to/image

or for compression:

dd if=/dev/sdx | gzip > /path/to/image.gz

Where sdx is your SD card and the target could be ~/raspbian_wheezy_date "+%Y%m%d_%T". This will save it to your home directory and append the current date and time on the end of the filename.

To restore the backup you reverse the commands:

dd if=/path/to/image of=/dev/sdx

or when compressed:

gzip -dc /path/to/image.gz | dd of=/dev/sdx

back to the top