Skip to main content

Backup your Raspberry Pi Image

Using dd to backup a PI SDသင္ ၏ Raspberry Pi SD card ကို backup အေနျဖင့္ image file ျပဳလုပ္ရန္ အဆင့္ဆင့္ ကို ေအာက္ပါအတိုင္းျပဳလုပ္ႏိုင္ပါသည္။

sudo fdisk -l

သင္၏ 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

 

Comments

Popular posts from this blog

ဘာသာရပ္ဆိုင္ရာ ေလ့လာစရာ websites မ်ား

ဘာသာရပ္ဆိုင္ရာ ေလ့လာစရာ websites မ်ား ကြ်န္ေတာ္တို့သည္ မိမိတို့ ဝါသနာပာရာတို့ကို အခ်ိန္ ႏွင့္ အမွ် ေလ့လာခ်င္ၾကပါသည္ ။ထို့ေျကာင့္ သူငယ္ခ်င္းတစ္ဦး ျဖစ္သူ Victoire Rio  ၏ အကူအညီျဖင့္ သိခဲ့ရ ျပီး ျပန္လည္ေလ့လာနိုင္ေစရန္ ျပန္လည္ စုစည္းေပးလိုက္ရပါသည္ ။ GENERAL ( အေထြေထြ ေလ့လာနိုင္ရန္ ) Coursera : Take courses created by top educational institutions edX:  Take online courses from the world's best universities Udemy : Learn real world skills online MasterClass : Take online classes from the world's best FutureLearn : Enjoy free online courses from top universities Savvy : Get personal lessons over one-on-one video Khan Academy : Learn almost anything Guides : Explore interactive guides Simplilearn : Grow your career with new skills Highbrow : Learn with bite-sized email courses Cudoo  : Take online self-study courses Coursmos : Learn new skills to drive your career TED-Ed : Learn from a library of interactive videos Lynda.c...

Install devstack in Ubuntu 16.04 AWS ver:2

Make Ur PC Faster

ကလိခ်င္လား.......အခ်က္(၁၀)ခ်က္တဲ့...... 1. First, run a scandisk or checkdisk . Let Windows fix any errors.Command windows +r and type chkdsk enter 2. Run a disk cleanup utility ...this will flush your temporary internet folder, trash can, temp system files, etc. 3. Delete any garbage files or data ...if possible, run a Duplicate File Finder program. 4. Run Defrag on all partitions (NOTE: run this after you have deleted all trash and excess files!) 5. Run a registry cleaner utility and delete or get rid of any orphaned entries in that registry. 6. Check your exisiting swap file for it's size and location (*will explain location later in the post). If you have alot of ram (i.e. 1 Gb and over) set this swap file to something small, like 250 Mb. The reason is that this will force Windows to load more into memory, resulting in faster performance (note: some games and applications actually require a certain sized swap file so check your applications performance after mak...