If you listed the devices in the /dev folder you probably noticed other partitions named mmcblk0p1 and mmcblk0p2. ![]() if=/dev/mmcblk0 sets our input file and of=/dev/sda sets our output file. bs=4M sets our block size to 4 megabytes. Just a bit of explanation on the dd command. Sudo dd bs=4M if=/dev/mmcblk0 of=/dev/sda If you want (just to test), you can remove the destination SD card and you'll notice that sda will disappear from the listing.Ĭonnect it again, and you'll see it listed again. You'll also find the source (the SD card your Pi is currently booting and running) called mmcblk0. List the devices and you'll find sda which is your destination SD Card. Your newly inserted USB SD card device will be Locate your Source and Destination SD cards. Just keep in mind everything will be erased on the destination during the backup, duh!Ģ. You can format your destination SD card if you want but it is not necessary. Connect your USB SD card reader to your Pi. ![]() Make sure you remove ALL existing USB drives you may have connected before proceeding!ġ. You will also need to make sure the OS is all up to date. ![]() Make sure you are running the latest version of Raspberry Pi OS on your Raspberry Pi 4. This HOW TO assumes you have the knowledge to execute commands from a terminal window on the Raspberry Pi desktop or over an SSH connection. The fastest way to backup the SD card on your Pi is to make a direct copy from the running SD card onto a second SD card that has been connected via USB.īest of all, you do it all from the Pi itself! No need for another host or shutting down your Pi or transferring files. Author: Raspberry Street Press HOW TO: Backup Raspberry Pi SD Card January, 2022
0 Comments
Leave a Reply. |