Hmm.
Let me explain something important to you @regexp
First of all, not all systems are the same and so the system management (and risk management) is different. You need to share with us the exact application or applications running on this computer system. That information determines the correct approach to recovering from a breach of system integrity. So please answer this before we continue (and please everyone, stop replying until we get this piece of critical information).
Second, let's briefly touch on cybersecurity. IT security, including cybersecurity, is composed of three elements:
- Integrity
- Availability
- Confidentiality
Assuming your system is a production system with critical assets (please answer the question above about what exact application is running), your system is now in an unknown state because you attempted a major system upgrade and it failed and you did not perform a full system backup before you attempted the upgrade. This was a mistake. Just to let you know, I never do what you have done. For example, even on my desktop macOS workstation, I perform a full system backup before any OS upgrade because upgrades can and do fail and that is what backups are for. You made a mistake. Others make similar mistakes.
So, now that the system integrity has been breached. Your system integrity is in an unknown state. This is not good, obviously. @hicksd8 has suggested you to attempt to downgrade but I completely disagree (sorry Dennis). When you take a system which is in an unknown state and then run some automated process to downgrade, you run a high probability to increase the uncertainty of the system. This approach generally does not improve system integrity and it generally degrades it. By taking a system in an unknown state and attempting to use a third party software process to degrade the system to a prior version, you are increasing the uncertainty, not improving it.
To maintain system integrity, it is faster, better, cheaper and more secure to simply build a new box with the upgraded OS you desire and to migrate the application to the new OS and test it. This approach puts the system in a state of certainty and maintains system integrity. Downgrading broken upgrades do not put the system in a state of certainty, it lowers system integrity.
So, of course the proper upgrade approach @regexp would have been to insure you (using "you" generically, not personally) had a full and current backup before you attempted an upgrade, but "you" made the mistake of only backing up "user data" (whatever that means, please explain this before we proceed).
Finally, before dropping off so you can reply to my request for you to describe you application exactly, let me say that when you build a production application, you should segment the application from the operating system as much as possible. This means you, as the system admin, must build the system so that it is easy to move the application from one system to another by segmenting the application is it's own directory (location in the file system) to the extent possible. Then, when the system fails (as they eventually do), then you can boot up a new system, move the app and user data over, test the warm standby, and the cut-over the new system after testing.
So, before anyone jumps in with guesses and suggestions, please @regexp be so helpful as to describe exactly what application or application(s) are running on this system where you have breached the system integrity via a failed linux distribution upgrade without a full backup in place.
Thanks!
Note:
I'm not picking on you @regexp, I'm just being direct and trying to get to the root of this situation so we can help you before this evolves into a 100 reply discussion where everyone guesses at your solution.
According to our site, you have been a member here over 10 years, so you should know all these things I have stated above about full backups before system upgrades, the importance of file-system integrity, clearly stating what application is running on a host before seeking a solution, etc.
So, again, provide us with the application running on this host where you have beached the system integrity by performing a failed upgrade without a full backup in place.
Thanks again. We are waiting for your reply @regexp