Rishi Garrod replied to the topic 'How to properly backup PI4?' in the forum. 3 years ago

I have recently moved to an SSD. I have moved the "Pictures" folder to a separate partition. I went looking for a backup solution and found rpi-clone. A great script which copies partitions and creates bootable images.
To get rpi-clone:
$ git clone  github.com/billw2/rpi-clone.git
$ cd rpi-clone
$ sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
$ cd rpi-clone
$ sudo cp rpi-clone rpi-clone-setup /usr/local/sbin

I make the backup to a SD card. I am only going to backup the first 2 partitions, boot and root.
I used:
sudo rpi-clone -f2 /dev/mmcblk0

The gives me a bootable copy on an SD card which I can put back on the SSD usinfg rpi-clone if I need to.

Read More...