[clug] version control for config files

jm jeffm at ghostgun.com
Sat Aug 9 01:16:35 GMT 2008

I've got  a bit of "spare time" today so I'll take a look at these and 
cfengine which both you and andrew suggested. The minimum I was hoping 
for was a script I could run every 5 minutes or so from cron to take a 
snapshot should it detect any changes in a list of files or sub 
directories. The main reason for attemping things this way is that I 
would have a difficult time enforcing the use of anything that's not 
invisible. I'm not allowed the use of cattle prods and phone books :-).


Steve McInerney wrote:
> on 07/08/08 17:43 jm said the following:
>> Does anyone have or know of a good script to backup and revert a set of
>> config files, such as those found in /etc, to/from a version control
>> system?
> 1. http://www.unixreview.com/documents/s=7887/ur0303d/
> 2. Put the entire /etc directory (so to speak...) under a DVCS (eg bzr), which
> is amazingly effective now I've been exposed to & using it.
> 3. Apparently "etckeeper" which is some sort of front end to #2.
> 4. what I used to do in previous job was a mix of #1 and some simple
> rsync/shell stuff to pull all RCS'd files and the corresponding originals into
> a central server for whatever.
> cfengine already being mentioned.
> So many options... :-)
> Cheers!
> - Steve

More information about the linux mailing list