From: Andrey Utkin <andrey.krieger.utkin@gmail.com>
To: gentoo-server@lists.gentoo.org
Subject: [gentoo-server] Git as backup tool
Date: Tue, 1 Nov 2011 23:16:27 +0200 [thread overview]
Message-ID: <CANZNk80SXY=5EJu8WUepCW9KTRqLxuTi=vhvk46d=aEO6CHNOg@mail.gmail.com> (raw)
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
next reply other threads:[~2011-11-01 21:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-01 21:16 Andrey Utkin [this message]
2011-11-01 21:23 ` [gentoo-server] Git as backup tool Dmitriy Petrov
2011-11-01 23:50 ` Tanner Danzey
2011-11-02 0:19 ` Brian Kroth
2011-11-02 0:39 ` Tanner Danzey
2011-11-02 2:06 ` Dmitriy Petrov
2011-11-02 3:29 ` Tanner Danzey
2011-11-02 1:21 ` Stefan Behte
2011-11-02 2:08 ` Tanner Danzey
2011-11-02 8:09 ` Andrey Utkin
2011-11-02 10:10 ` Ciprian Dorin Craciun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANZNk80SXY=5EJu8WUepCW9KTRqLxuTi=vhvk46d=aEO6CHNOg@mail.gmail.com' \
--to=andrey.krieger.utkin@gmail.com \
--cc=gentoo-server@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox