sudo diskutil eject /dev/rdisk3 Backing up your Raspberry Pi SD Card on Linux.
I prefer to make an image. First things first: shut down your Pi safely (how you do this will depend on the OS you’re running – for Raspbian, it’s just sudo shutdown now in the command line) and remove your microSD card. You can create a backup (.img) of your SD card to a network / USB drive while the card is inserted in your Raspberry PI!
Your Raspberry Pi’s SD Card should now be in the same state as when you made the original backup. If you don’t have a reader built in to your PC, you’ll need to buy one. How to Back Up Your Raspberry Pi Project. You can run directly from the backup, but if you want to recover your original card from your backup, simply reverse the process – boot your Pi from the backup card, put the card to which you want to restore into the SD card writer, and repeat the process above. I will introduce you two ways to do a full backup of your Raspberry Pi in operation (from a desktop tool or with command lines) In both cases, you’ll need to plug a second SD card in the Raspberry Pi to copy the running SD card to another. Here’s how to back up your Raspberry Pi’s SD card on Windows, macOS, or Linux – and how to restore it from that backup, too. Before starting to backup up your Raspberry Pi’s SD Card on Linux we will first run a command with the reader not plugged in. When your Pi is set up exactly as you want, shut it down and remove its SD card. The absolute best way to ensure you have a copy of your Raspberry Pi and all of its data is to routinely image the SD card.
How to Backup a Raspberry Pi SD Card to Windows. Using the SD Card Copier software, you can backup a larger SD card to a smaller SD card so long as the actual contents of the card will fit on the smaller card. Plug the SD card into your computer, download Win32 Disk Imager (if you haven’t already), and start it up. 1. If you don’t have one already, I recommend buying a cheap USB adapter on Amazon like this one You can make a copy of the entire SD card and store it on your PC, or you can copy the entire contents to another SD card.