PaulDotCom mailing list archives
backing up /etc using svn
From: nbaronian at gmail.com (Nick Baronian)
Date: Wed, 12 Aug 2009 00:19:02 -0400
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 <mike.mikemiller at gmail.com>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<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
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pauldotcom.com/pipermail/pauldotcom/attachments/20090812/d864d631/attachment.htm
Current thread:
- backing up /etc using svn, (continued)
- backing up /etc using svn Josh Olson (Aug 10)
- backing up /etc using svn Dmitry Nedospasov (Aug 10)
- backing up /etc using svn Dmitry Nedospasov (Aug 10)
- backing up /etc using svn Robin Wood (Aug 10)
- backing up /etc using svn Mike Patterson (Aug 10)
- backing up /etc using svn Robin Wood (Aug 10)
- backing up /etc using svn Robin Wood (Aug 10)
- backing up /etc using svn Josh Olson (Aug 10)
- backing up /etc using svn Bert Van Kets (Aug 10)
- backing up /etc using svn Kevin Shortt (Aug 10)
- backing up /etc using svn Michael Miller (Aug 11)
- backing up /etc using svn Nick Baronian (Aug 11)
- backing up /etc using svn Robin Wood (Aug 12)
- backing up /etc using svn Dale Stirling (Aug 12)
- backing up /etc using svn Robin Wood (Aug 12)