Rasbi Backup

sudo dd if=/dev/sdg of=/home/mika/OVI/BACKUP/image1.img

dd if=/dev/sdg of=/home/mika/OVI/BACKUP/mb.img bs=512 count=2

Pakkaa image
tar pczvf /home/mika/OVI/BACKUP/image1.tar.gz /home/mika/OVI/BACKUP/image1.img

Pura TAR paketti verbose päällä
tar xzvf myarchive.tar.gz

Restore image
dd if=image1.img of=/dev/sdg

Comments