PaulDotCom mailing list archives

backing up /etc using svn


From: dninja at gmail.com (Robin Wood)
Date: Wed, 12 Aug 2009 08:15:33 +0100

2009/8/11 Michael Miller <mike.mikemiller at gmail.com>:
Robin,

Have you thought about using git instead of svn? ?It's a bit cleaner
does a better job merging file IMO and stores everything as files
instead of in db2 or fsf storage formats..

No I hadn't, I thought svn just because I already use it and so know
how to set it up and use it.

I don't think there will be a problem with merges. When backing up the
file being put into the repo will always win and on a restore the file
coming out will virtually always win.

Robin



-mmiller

On Mon, Aug 10, 2009 at 3:01 AM, Robin Wood<dninja at gmail.com> wrote:
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
_______________________________________________
Pauldotcom mailing list
Pauldotcom at mail.pauldotcom.com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

_______________________________________________
Pauldotcom mailing list
Pauldotcom at mail.pauldotcom.com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com



Current thread: