# The Easiest Way to Backup your Raspberry Pi SD card on OS X

To back up your Raspberry Pi SD  card follow these simple steps.

## Command Line Approach

**Step 1: **Run diskutil list from the command line **Step 2: **Determine the SD card of the Pi, and unmount it with diskutil unmount /dev/disk2s1 **Step 3: **Save the file to your hard drive with the following command: sudo dd bs=16m if=/dev/rdisk2 of=backup.img

and to restore: sudo dd bs=16m if=backup.img of=/dev/disk2

If you are impatient you can hit CTRL + T to get status of the transfer

## GUI Approach

There are many ways to back back up your Pi's SD card, but I have found this one the easiest to remember how to do only doing it once or twice a year since it uses Disk Utility.

If you haven't given Disk Utility "Full Disk Access" You will need to do these steps only once.

I hope you find this helpful!