On Wed, 20 Sept 2023 at 22:29, Grant Edwards <grant.b.edwa...@gmail.com> wrote: > > That depends on how long it takes me to decide on tar vs. rsync and > what the appropriate options are.
I've done this a number of times for various reasons over the last 1-2 years, most recently a few months ago due to hard drive swap, and I find tar works just fine: $ tar -cpf /path/to/backup.tar --xattrs --xattrs-include='*.*' -C / . Likewise to extract, but make sure "--xattrs" is present Provided backup space isn't an issue, I wouldn't bother with compression. It could be a lot quicker too depending on the size of your root partition. > That said, I think I will go with the backup, repartition, restore > method. Sounds like a sound course of action to me, reinstalling is just too much faff and can often be avoided. I have a long standing distrust of partition management utilities that claim to move filesystem data too. I'm sure they work juuuuust fine :) Just make sure you update /etc/fstab and bootloader config file with the new filesystem UUID or partition indices. Regards, V