Which software do you use as an emergency backup right before doing a risky operation (such as an upgrade) ?
I am going through the pain of restoring my files after a bad error on my part : I used déjà-dup (the default with Ubuntu 20.04.4) to back up the default home folder.
Unfortunately, my update broke everything and I lost access to my session. I hoped that deja-dup would allow me to restore from the live CD, but found out that I need the same computer name and username, so I had to reinstall everything before being able to restore.
This seems inconvenient, and I don't understand why it is the default behavior.
What are you using to do your backups ? Have you felt the same frustration I'm facing ?
Nobody made the conscious decision to kneecap you here: it's simply dangerous to treat one computer's hardware configurations the same as another. Backing up your home folder is your best bet, as it's relatively safe to "restore" after an install. It's up to you to have a bootstrapping script ready to get your system to the same place it was before it was borked.
This is one of the things NixOS would solve quite well, but unfortunately the software just isn't quite there yet, in my opinion. Your Nix install has two configuration files: a software config and a hardware one. Your software configuration is portable, you can use it to define things like users, user configurations, permission structures, desired global applications, themes, groups, system config and more. Your hardware configuration file is specific to the machine you're running, and is auto-generated when you install a system. This separation makes it really easy to "carry around your system" as a 10kb text file. The tough part is that it doesn't work very well with most desktop environments, and it's something of a pain in the ass to set up. One day I hope we get there though, because it really would be a best-in-class solution.