How to backup your Raspberry Pi bootable SD card in Ubuntu ?

Using dd to backup a PI SD
သင္ ၏ Raspberry Pi SD card ကို backup အေနျဖင့္ image file ျပဳလုပ္ရန္ အဆင့္ဆင့္ ကို ေအာက္ပါအတိုင္းျပဳလုပ္ႏိုင္ပါသည္။
sudo fdisk -l
fdisk preview1 2013-10-30 10:52:14
သင္၏ SD card ကိုစာျဖင့္ေရးမွတ္ထားပါ။
 အမ်ားစုကို /dev/sdb1 ဟုေတြ့ျမင္ရပါမည္ ။

မွတ္ခ်က္ ။။ သင္backup လုပ္လိုေသာ SD card မွ အပ အျခား SD Card / Memory Stick မ််ားကို သင္၏စက္ႏွင့္မခ်ိတ္ဆက္ထားရ။

 ေအာက္ေဖာ္ျပပါ command သည္ SD card ကို image file ျပဳလုပ္ႏိုင္ပါသည္ ။
sudo dd bs=4M if=/dev/sdb | gzip > /home/your_username/image`date +%d%m%y`.gz
***your_username= သင္၏ user account  အမည္
ေအာက္ေဖာ္ျပပါ command သည္ image file ကို listျပဳလုပ္ႏိုင္ပါသည္ ။
ls | grep image
ေအာက္ေဖာ္ျပပါ command သည္ backup image file ကို SD card သို့ restore ျပန္လည္ျပဳလုပ္ႏိုင္ပါသည္ ။
sudo gzip -dc /home/your_username/image.gz | dd bs=4M of=/dev/sdb


his is Chit Ko Ko Win from Myanmar (Burma) . I start learning redhat Linux in 2010 because of lazy in MS but can't used as well as Ubuntu . After meet with Ubuntu Myanmar LoCo Team , I migrated to Ubuntu Operating system and I joined with LoCo Team . Reading , Learning and Helping to Team when we go all around the country . Most of the time I spend in community .Later ,I try to help people in facebook group after that I know that they just need localization . That'why I start wrote some articles for our people our language and training Ubuntu at Info Myanmar Computer Services .

Tagged with: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *