On Tue, Nov 1, 2011 at 23:16, Andrey Utkin <andrey.krieger.ut...@gmail.com> wrote: > Hi all! Long live the gentoo masters! > I'd like to hear from anybody who uses (or tried) git on production > servers for saving the points of possible restore. Please, share your > practices, like commit patterns, .gitignore contents, etc. I've begun > to use it a couple of days ago for that, and pointed out some issues. > I control the whole root fs with git. > The problematic part is bunch of files that update frequently, but i > am not familiar with them and i'm not sure if system will load without > them. > Namely, these are files in /usr/lib64/portage/pym/ > Also wtmp, utmp files hurt - likely without them box won't boot, but > they shouldn't be in git control, too, coz they update often. > Thus, backup restoring requires not git repo only, but also some tar of base? > > -- > Andrey Utkin
There is an interesting project targeting exactly this: using Git as a backend for a backup tool: https://github.com/apenwarr/bup Ciprian. P.S.: I haven't tried it myself, but I've subscribed to their mailing list and I keep a close eye... And when I have some time I want to try it...