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

ယူနီကုဒ်အကြောင်းတစေ့တစောင်း

အောက်ဖော်ပြပါ အကြောင်းအရာများသည် ၁၄ ဒီဇင်ဘာလ ၂၀၁၄ ၁၃း၃၂ အချိန်တွင် ဦးညီလင်းဆက် မှ Facebook တွေရေးသားခဲ့သော ကိုယ်တွေ့အကြောင်းအရာများဖြစ်ပါသည်။ မပျောက်ရန်နှင့် နောင်လေ့လာနိုင်ရန် စုဆောင်းထားခြင်းဖြစ်ပါသည်။ Google Translate နဲ့ ပတ်သက်ပြီး တချို့တွေလည်း သဘောကျ၊ တချို့တွေလည်း သဘောမကျ၊ တချို့တွေလည်း ဘာမှ မသိဘဲ လျှောက်ဖောကြတာတွေ့ရတယ်။ ဗိုလ်တထောင်ယူနီကုဒ် နဲ့ လမ်းမတော်ဇော်ဂျီ အောက်ခြေ ဂိုဏ်းသားတွေ ဘာမသိညာမသိ ဆိုင်းသံကြားတာနဲ့ ချကြတာလည်း မြင်ရပြန်တယ်။ ဒါဟာ ယူနီကုဒ်အောင်ပွဲဆိုပြီး ဂုဏ်ယူဝံ့ကြွားကြသလို ဇော်ဂျီနဲ့ ရိုက်လည်း ရတာပဲဆိုပြီး နင်းကန်ငြင်းဆန်ကြတာလည်း ကြုံရပြန်တယ်။ သမိုင်းကြောင်းလေးတွေ ရှိလို့ မှတ်မိသလောက် ပြန်ပြောပြချင်တယ်။ အန်အယ်လ်ပီ ဆိုတဲ့ အဖွဲ့ကြီး ရှိခဲ့တယ်။ အဲဒီမှာ ဒီလိုဘာသာပြန် စနစ်တွေ လုပ်ဖို့ရာလည်း အစီအစဉ်တွေ ရှိခဲ့တယ်။ ဒါပေမယ့် ဆယ်နှစ်လောက် ဖောင့်ဒီဇိုင်းလုပ်တဲ့ သူကအစ ကုဒ်ဒင်ရေးတဲ့သူအဆုံး ကိုယ့်ကိုကိုယ် ယူနီကုဒ်စနစ်ကို တီထွင်သူလိုလို ဘာလိုလိုတွေနဲ့ ယူနီကုဒ်ဗားရှင်း ၄၊ ဗားရှင်း ၄.၁၊ ယူနီကုဒ် ၅၊ ယူနီကုဒ် ၆ စသည်ဖြင့်ပေါ့လေ တိုးတက်စည်ပင်အောင် လုပ်ကြရာကနေ မြန်မာ ၁၊ မြန်မာ ၂၊ မြန်မာ ၃...

ဘာသာရပ္ဆိုင္ရာ ေလ့လာစရာ 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...

Linux Kernel 3.6.9 Installation in Ubuntu 12.10 /12.04

Kernel 3.6.9 ကုိ Ubuntu 12.10 /12.04 ႏွင့္ Linux Mint 14/ 13 တုိ့ တြင္ install ႏွင့္ uninstall ျပဳလုပ္ျခင္း Linux Kernel 3.6.9 သည္  bug fixes ျပဳျပင္၍ ပိုမို ေကာင္းမြန္ေစေသာ kernel  အသစ္ တစ္ခုျဖစ္ပါသည္။ အသစ္ထပ္မံျပဳျပင္ေျပာင္းလဲမွဳ မ်ားမွာ   changelog :       ALSA: hda - Fix missing beep on ASUS X43U notebook       ALSA: ua101, usx2y: fix broken MIDI output       iwlwifi: fix monitor mode FCS flag       radeon: add AGPMode 1 quirk for RV250       drm/radeon: add new SI pci id       mmc: sdhci-s3c: fix the wrong number of max bus clocks       mwifiex: fix system hang issue in cmd timeout error case       x86, efi: Fix processor-specific memcpy() build error       MPI: Fix compilation on MIPS with GCC 4.4 and newer       NFC: Fix nfc_llcp_local chained list insertion  ...