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 )



Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…