| I've done it recently on my work laptop. Some notes for whoever walks this path. I'd add /opt to that list, where I install non-apt software .e.g. Jetbrains, Joplin, eclipse, ... Some stuff under $HOME breaks even if it shouldn't. firefox got an upgrade from LTS to mozilla, and refused to pickup or even import its profile and passwords. libreoffice never got past the splash screen . The corporate VPN tool just completely broke for no apparant reason. Deleting and rewriting all their .config 'fixed' it. Also, .cache was not copied over. I started maintaining an ansible script to manage my laptop, but that was more to learn ansible. Even so, it did well rebuilding /etc. I have a copy but don't seem to need it.. I look at utmp to book my work hours, so I had to guestimate failover day. A next upgrade will copy it too. Renaming the home directory due to sssd broke a lot of paths that really should have been relative to ~. I made a symlink from my old home as lazy workaround. All in all, I was back running fast, but mainly because everything was scripted or in a decent location. My days of perfectly tuning every nook and cranny are long past. |