PaulDotCom mailing list archives

backing up /etc using svn


From: dninja at gmail.com (Robin Wood)
Date: Mon, 10 Aug 2009 11:01:03 +0100

Hi
I'm looking at different back up solutions for my server and was
thinking about using subversion. I'd add /etc to a repository and have
it automatically checked in every night. I'd have the repo to be on a
different server and to have the svn traffic tunnel over ssh.

As some files in /etc are only readable by root, the svn check in must
be done by root. As allowing remote ssh access to root is a bad idea
so the repo must be owned by a non-root user on the other box. Seeing
as I'll have to trust something somewhere I'll assume that I trust the
non-root user on the other box.

Before the check in all new files must be added to the repo as well.

Does anyone else have this kind of setup and if so, does it work or
can you point out any alternatives or better ways to do things?

Robin


Current thread: