Timeshift for Linux has saved my ass 100 times
This is a backup tool using rsync, where you can "go back in time" to the previous version of your software. (like before an upgrade or change)
It doesn't directly touch the user files, like say a text file. But if your software gets rolled back, it might affect files that software uses (like a messenger)
There's both GUI and CLI (you can use CLI if you get locked out of the graphical desktop bootup). So then you'd select "Recovery Mode" in GRUB bootup, and then using that command line interface do a timeshift backup restore. Ask me questions on it! I want to help you