So, the thing with hosting a VPS is you have to do all your own updates manually. My problem is, I don’t know what I’m supposed to be mindful of or look out for when updating one OS version to another.
Recently I applied some updates to my server and lost the connection to my server entirely. I could only access my server from the host-side’s terminal. Through the help of someone I knew we were able to determine that the system managing my network was changed in the update, from ifupdown to netplan. I didn’t know this was going to happen, so I was wholly unprepared for it. Had my host not had the tool to just re-populate the network file itself, I would have not been able to do that myself. And this is just an example of the ways an OS update can mess up what I’ve got going on.
I’ve been afraid to update my OS for reasons like these: Of all my settings being lost/overwritten, of data being lost, a system that I used to use being gone, my python virtual environments just being broken, or things in such disrepair they cannot be fixed. I can make a snapshot backup of my host but that puts me back at square one if I can’t upgrade my OS.
So I was wondering if anyone had any guides on updating from one OS version to the next, and what to do to make sure the transition is as smooth as possible. Specifically with Servers in mind. (most general linux guides only think about personal desktop systems and rarely touch on the particularities needed to host web sites and web apps)
Addendum: At the moment I have 2 VPS, one is Ubuntu, the other is Debian. Since Ubuntu is just Debian with extra built-in features, I think most Debian help should apply to both with a few caveats about what differences to look out for.