Closed marques-work closed 3 years ago
@spl237 WDYT? The aim is to bring the backup script to be more aligned with what the GUI does.
This backup script was only ever intended as a rough reference to how the backup process was originally designed; it was never intended to be used, which is why the piclone package doesn't actually install it anywhere. piclone was only ever intended as a GUI backup solution, not a command-line one.
If you or someone else wants to use this script as the basis for a command-line backup tool, then be my guest, but in that case it needs to be as a new package with proper installation etc, not as part of this project. I don't have the resource to maintain the script as well as the GUI version, I'm afraid.
For those of us running in headless mode and using the "lite" distro without a desktop, the
backup
script is a preferable commandline alternative to the SD Card Copier GUI.The
backup
script, unlike the GUI, doesn't clone the partition labels and UUIDs.This PR aims to do just that.
If desired, I could make UUID retention configurable via arg parsing; this would be analogous to the checkbox to create new UUIDs in the GUI counterpart. If so, I would opt to add that as a separate PR.