How can I make a restore point for a Ubuntu Server 18.04?
I have a clean install of the Ubuntu Server OS and before installing any Web Server I want to perform a backup and if something goes wrong with the installation I want to backup/ return to that point that I have created just before. Another case would be if I have installed let's say Apache2 and is working correctly and then I want to install in the same machine Apache Tomcat and something goes wrong how can I roll back to the stable version, what is the best practice.
So far I have been using
rsync trying to back the root
/ but it always leads to some problems. Also, I have seen that snapshot is usually to save a specific folder and not a server configuration.
With the backup, I want to achieve that not to reinstall OS from the beginning every time and to perform a clean installation of everything.