Re: Git as backup tool

Dmitriy Petrov <[email protected]> Wed, 02 Nov 2011 01:23:08 +0400
Newsgroups gmane.linux.gentoo.server
Message-ID <[email protected]>
Hi!
I also thinking about using git as backup tool :)
And also would like to find out if someone used them in production

On 11/02/2011 01:16 AM, Andrey Utkin 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?
>