Historically (Buster and before) I have used the Desktop GUI and the SD Copy accessory to create periodic backups of my SD card. However with bookworm and the related changes to the VNC system, I have not been able to get the desktop GUI to accept my id and pw and then load. So, I opted to have it boot to the command-line console. However, creating a backup copy of the active SD card from the command-line involved another "research" project.
I finally found this posting (viewtopic.php?t=363750&hilit=framp and https://github.com/billw2/rpi-clone/issues/168) by @framp which provided the clues and code to successfully create the backup from the command-line. Here is what I used to install the program and to get the device id for the target:
, sda in my case and then the command to create the backup.On my Pi4 the operation took about 7 minutes.
Many thanks to @framp...RDK
I finally found this posting (viewtopic.php?t=363750&hilit=framp and https://github.com/billw2/rpi-clone/issues/168) by @framp which provided the clues and code to successfully create the backup from the command-line. Here is what I used to install the program
Code:
wget https://raw.githubusercontent.com/framps/rpi-clone/master/rpi-clone
Code:
lsblk
, sda in my case and then the command to create the backup.
Code:
sudo bash rpi-clone sda -v
Many thanks to @framp...RDK
Statistics: Posted by RDK — Thu Feb 20, 2025 8:54 am