Wishing to replace the system drive with near identical sized new and fresh SSD, or even a larger one, leaves me with a puzzle.
dd is great and I can't use that bit-by-bit copy technique f.e. because my source drive died or is unreliable. I have a backup of all the data available.
The issue is how to backup and restore and/or migrate/clone the GPT partitioned drive structure using a script without its files and directories:
- file systems (and their properties)
A search here for "migrate new drive -lvm" returns 30 results, none of them give me a hint.
Is there some kind of handy scriptable
parted --backup and
--restore command to accomplish this task in a minimal Arch Linux installation, that is UEFI booted?