cvs config sicherung

Alain Schroeder alain at parkautomat.net
Sat Jun 12 11:18:40 CEST 2004


Am Fr, den 11.06.2004 schrieb Florian Lohoff um 18:10:
> Hi,
> ich habe da en wahn mal ein vernuenftiges zeug zu bauen was regelmaessig
> (30minuten etc) alle config files eines systems in ein CVS wirft und
> natuertlich am besten auch gleich (ueber den cvs notify mechanismus)
> dann diffs an die admins schickt.
> 
> Config files auf einem debian system ist ja "relativ" einfach 
> 
> ( cat /var/lib/dpkg/*.conffiles ; find -type f /etc ) | uniq

cat /var/lib/dpkg/info/*.conffiles...

Nach Debian Policy müssen alle Configfiles doch so oder so in etc
liegen. Du kannst also einfach /etc ins CVS werfen. Dann machste per
cron alle 30 Minuten einen Commit.

Als loginfo trägst du dann so ein Programm wie Deluxe Loginfo oder
CVSspam ein. (http://www.badgers-in-foil.co.uk/projects/cvsspam/ hat
eine Liste ähnlicher Programme)

Bye,
   Alain

-- 
"Magazines all too frequently lead to books and should be regarded by
the prudent as the heavy petting of literature." -- Fran Lebowitz




More information about the Linux mailing list