Gerrit backup

Karsten 'quaid' Wade kwade at redhat.com
Wed Dec 7 16:02:57 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I did a first pass at creating a backup process for gerrit.ovirt.org:

http://ovirt.org/wiki/Gerrit_backup

Right now it uses rsync on /usr/local/src/git to a remote directory at
ovirt.org:/home/gerrit-backup/gerrit.ovirt.org-src-backup/src/ .

So that's my hacky process and bash script to start. Very open to
other ideas.

One I'm not clear on is what we really need backed up from
gerrit.ovirt.org? I'd like us to get /etc in a private git repo, maybe
we just do that as a single repo that we distribute across all hosts'
/root directories? Should we also be using git for backing up the git
repo - so have gerrit-backup on the remote host pull changes instead
of pushing a directory structure via rsync?

Itamar mentions that we need to backup the Gerrit DB, which I'll work
on next. I reckon that's a combination of a dump of the database and
rsyncing the results to the remote host?

- - Karsten
- -- 
name:  Karsten 'quaid' Wade, Sr. Community Architect
team:    Red Hat Community Architecture & Leadership
uri:              http://communityleadershipteam.org
                         http://TheOpenSourceWay.org
gpg:                                        AD0E0C41
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFO344x2ZIOBq0ODEERAu3TAKDDLtt5jr/a78mMLnW8T0eqSVx1fQCgi2c1
7lTFWA0VPPtuuIkokqk+JbI=
=xt+L
-----END PGP SIGNATURE-----



More information about the Infra mailing list