Backup

howtos for various backup systems…

Simple dd backup of a partition or (raspi) SD card

Replace sdX with your SDcard (check fdisk -l)

dd bs=4M if=/dev/sdX | gzip > /home/your_username/image`date +%d%m%y`.gz

Restore:

gzip -dc /home/your_username/image....gz | dd bs=4M of=/dev/sdX
 
Back to top
linux/backup.txt · Last modified: 2017/11/11 18:22 by tkilla