Raspberry Pi Linux LESSON 20: Backing Up Your SD Card and Operating System

It is fairly easy to corrupt your SD card or your operating system on the Raspberry Pi. If this happens, and you do not have a backup, you will likely have to rebuild your system from scratch. Hence, it is important to be diligent in keeping your Pi backed up. In this lesson we show how you can back it up using Windisk32Manager, a free and simple program that will do the trick.

Please note that you can not back the card up by simply using a windows drag and drop of the contents. You actually have to make the disk image as shown in this video.

7 thoughts on “Raspberry Pi Linux LESSON 20: Backing Up Your SD Card and Operating System”

  1. Paul, excellent Linux series to get started! Maybe you can tell your Apple viewers how to make a PI SD-card image backup on MacOs. I use the dd command on a MacOs terminal.
    sudo dd if=[/devicename] of=~/Desktop/[backupfilename.dmg]
    Warning not to mess things terribly up with a wrong device name!! So be very careful and use [diskutil list] first to determine what the name of the SD-card is.

  2. Just a thought,
    maybe it would be more practical two have 2 sdhc cards to start with, in case one gets corrupted we don’t have to immediately stop everything – just pop in the backup…… and then later do the re-imaging of the corrupted one….. we’re ready for the next round….

  3. Well, I have to say the professor was right…. as usual… 😉
    Back-up, back-up and always back-up your sdhc card no matter what….. Best to learn from mistakes of others, and believe me I made a huuuge mistake…. so, now I now better….

    Cheers…. VS
    BTW forget the extra card…. just back-up the original one and save some money….

  4. Hello,
    I have backed the system up into an image file, but when I want to rewrite it onto an identical 16Gb MicroSD, after having formatted it with SDFormatter, it doesn’t fit on it.
    I get the error message:
    “Not enough space on disk: Size 31116288 sectors Available: 30318592 sectors. Sector size: 512”.
    What to do in that case?
    Thank You for Your help.

    1. This is a common problem. Not all 16Gb cards are exactly the same size, if I understand correctly. Make sure you are using the same brand of card. I have had this problem in the past. Usually if I use the same brand of card, things will work.

Comments are closed.