Written by James McDonald

January 18, 2016

Just discovered etckeeper

yum install etckeeper

etckeeper init -d /etc

etckeeper commit "Inital Commit"

Once you have done the above, your /etc will be under git version control.  You can then make changes to configuration files in /etc/* and etckeeper will commit your changes to git at a regular interval and thus give you the ability to roll back if you make a detrimental change.

etckeeper installs the scripts and cron jobs that will auto-commit changes daily ( be warned some packages i.e. webmin update files in /etc daily so you will end up with a lot of versions )

 

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

MacOS USB Creator

Just toasted my Windows 10 Pro install with a Windows 11 upgrade. Think it will be unrecoverable (because of Bitlocker...