[cc lang='bash']
# backup
\$ dd if=/dev/mmcblk0 | gzip > raspi.img.gz
# restore backup
\$ gunzip -c raspi.img.gz | dd of=/dev/mmcblk0
[/cc]
INFO: /boot is formatted vfat, / is formatted
f2fs
(in case you need to change something before restoring to card)
[cc lang='bash']
pi@raspbmc:\~\$ cat /etc …