Tutorials:BackupopenAAL

Aus openAAL
Wechseln zu: Navigation, Suche

Something like this:

   sudo fdisk -l</code>


Take note of how the SD card is identified. In my case it is /dev/sdb1. Then:


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


This will compress the image using gzip. To restore the backup on SD card:


   sudo gzip -dc /home/your_username/image.gz | dd bs=4M of=/dev/sdb


All this must be done on a linux PC. It won't work on the raspi!