I suspect the OP is looking for a "System Restore Point" type solution to allow the (system) rollback. A quick search turned up
this is the rocky fora - the current favourite for this sort of thing if native snapshot is not available.
Pretty much fool-proof on Mint - if the port is good, same should apply to other distros. Doesn't (didn't) do user files by default, but that can be managed as well.