How to backup your Raspberry Pi’s SD card image
How to backup your Raspberry Pi’s SD card image.
I noticed that there are not many decent tutorials on how to back up the Raspberry Pi’s SD card image, I’ve decided to create a tutorial myself. 🙂
1) Plug in your SD card
Standard.
2) Find out your SD card number
Hit launchpad and search for Disk Utility
and select it
After that, select your SD card.
After selecting your SD card, hit command+i
to view more information about the SD card. Inside the window, we can find the disk identifier.
So in my case, it’s actually disk2
.
3) Time for backup!
The actual command is using dd
which I learnt from Stackexchange.
Note : Running this command might actually take sometime. So go grab a coffee and come back. 🙂
dd if=/dev/diskx of=/path/to/image bs=1m
So in my case, I want to save it to the Desktop, hence my command will be something like
sudo dd if=/dev/disk2 of=/Users/stevetan/Desktop/image bs=1m
It actually took 1553 seconds which is approximately 25 minutes to backup my whole SD card.