On Rockpi4b I have debian installed and now configured/customized after completing the install from the approved image. I would like to backup/image this in case I make an error … and don’t want to start from scratch.
On the raspberry pi distributions there is a utility called SD Card Copier, the command line is
env SUDO_ASKPASS=/usr/lib/piclone/pwdpic.sh sudo -A dbus-launch piclone
Is there a similar set of commands to create an image file of the needed partitions, and size it to the minimum needed ? The goal would be that I could use this to reflash a drive with ‘my configuration’
Is there any difference if I have the operating configuration on a 1- an uSD , 2- on eMMC, or 3- on nvme ?