Ahem. The problem isn’t the OS here, it’s the user not having an image-level backup before a major upgrade. Trusting the OS to recover this for you is leaning on a mighty thin reed. IMHO.
linux makes it easy now to have image level backups- at least linux mint does- it includes a program to pretty much do backups in a few clicks-