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. 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…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...