How to make a backup of a Raspberry Pi using a disk imager

How to Back Up your Raspberry Pi
Published: by
Last updated:
Raspberry Pi

After doing some tinkering a Raspberry Pi operating system, it might be a good idea to back it up from time-to-time. How to make a backup of your Raspberry Pi using a disk imager will help you with that.

Pros & cons of using a disk imager to make backups

By using disk imagers to make backups of a Raspberry Pi operating system there are only a few basic steps, it is very simple and it will work with any Raspberry Pi operating system. Disk imagers makes a cloned copy, bit-by-bit and is a very accurate way of storing data on a different medium for later use.

On the down side, this method does come with some flaws. Apart from being manual, the additional hardware and an additional stand-alone/separate PC that is required, the retrieval of a backup image needs a larger sized SD card. Let’s call it the “ever expanding image problem” where an 8Gb SD card will need a 16Gb card and a 16Gb will need a 32Gb card etc., etc.

Compared to other ways of making backups, this process is quite SD card intensive from a reading perspective. It should therefor be limited to as needed or once a week, meaning the risk for data loss is greater (compared to other processes which is less intensive and can be done more frequently.) From all the Raspberry Pi backup options available, making cloned copies also takes the longest to complete.


As discussed on the basics of installing a new operating system for your Raspberry Pi, the Raspberry Pi needs some sort of an operating system installed from an .img file to an SD card. This process is basically the reversal of that. This will show how to create a backup copy of the Raspberry Pi operating system as an .img file.

Before starting – requirements

Apart from a SD card reader and the working SD card, the following will also be required:

  • A PC already running an operating system (I will be using Microsoft Windows 7) with enough HDD space (attached) to store one or two instances of your Raspberry Pi operating system image. (I recommend at least 3x the size of the SD card being backed up.)
  • Win32DiskImager downloaded and installed onto this PC. You can also choose a different disk imager depending on your own operating system.

Using Win32DiskImager to make a backup of a Raspberry Pi

  • Remove the SD card from the (switched) off Raspberry Pi, pop it into a SD card reader and then pop it into the PC.
Using Win32DiskImager to make a backup of a Raspberry Pi
Win32DiskImager is a plain and very simple little program that can read and write to and from .img files.
  • To create an .img from a SD card, open Win32DiskImager and use the folder button and browse to the directory on your HDD where you want to save the .img file too.
  • Type in the complete file name to save the image as (include the .img extension).
  • Make sure the correct drive letter of the SD card is selected on the Device drop down menu.
  • Press the Read button (vs. Write button).

That’s it! Simple.

Other ways to backup a Raspberry Pi

Improve your skills through Skillshare – get first 2 months for free
Improve your skills through Skillshare – get first 2 months for free
6 August 2020
Ad: Join the Skillshare online learning community with videos on programming, website development, art, designs and many more. Try Skillshare for free for two months now! More…
About the author
Renier busies himself with improving his English writing, creative web design and his websites, photoshopping, micro-electronics, multiple genres of music, superhero movies and badass series.
Behind the Scenes is a free, informative website. If you find value in any of our content, please consider making a donation to our cause.
Donate via PayPal

Save, share & Disqus

Use the buttons below, on the left or the bottom of this page to share this post. Your comment is important, but don't be a knob. Keep it constructive and polite.

Comment via Disqus

Disqus is a worldwide comment hosting service for web sites and online communities. This secure platform ensures a pleasant commenting environment which is manageable from one account. Use the Login button to sign up.

More home network related posts

Communicating between 2 Raspberry Pi's using sshpass
Communicating between 2 Raspberry Pis using sshpass
10 September 2016 | Updated 24 October 2018
sshpass is a Linux software package that can be used to establish a direct (secure) connection between two Linux operated computers. This connection allows ‘remote’ access to a ‘local’ computer to run commands ‘locally’. Communicating between 2 Raspberry Pi’s using sshpass will show you how. More…
Raspberry Pi
Understanding common network protocols
Understanding some common network protocols
7 September 2016 | Updated 29 February 2020
Deeper exploration into the world of inter-computer communications will reveal more and more types of communications (e.g. radio waves, Ethernet, Bluetooth, etc.), their interfaces and the network protocols they use. More…