I haven't used git for this purpose before but have seen multiple articles
where git was used as a backup solution and have been meaning to give it a
try.  From what I have read, git can definitely give you some advantages
over svn and rsync.  Instead of just one location containing the repository
you can have multiple locations all containing the full repo and stuff like
deletions, moves and renames stay in the history and can be restored easier
than with other version controls apps.  It also uses file compression and
supposedly the recovery and transportation of the data is faster than that
of rsync and copy.  However, I do not think that git retains perms and such
but I recall there was a work around it.

If you go this route you might want to check out
http://kitenet.net/~joey/code/etckeeper

nick

On Tue, Aug 11, 2009 at 6:38 PM, Michael Miller
<[email protected]>wrote:

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

Reply via email to