Gerrit backup

Itamar Heim iheim at redhat.com
Thu Dec 8 13:31:21 UTC 2011


On 12/08/2011 01:55 AM, Karsten 'quaid' Wade wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12/07/2011 08:02 AM, Karsten 'quaid' Wade wrote:
>> I did a first pass at creating a backup process for
>> gerrit.ovirt.org:
>>
>> http://ovirt.org/wiki/Gerrit_backup
>
> This is now:
>
> http://ovirt.org/wiki/Gerrit_server_backup
>
> It includes the addition of a PostgreSQL database backup script. All
> the backups for this are found on the remote host (ovirt.org)
> /home/gerrit-backup.
>
> In testing I've run initial backups and copies to the remote host of
> the git repo and gerrit database; they'll also run tonight in a few
> hours (10 and 10:20 pm East coast time.)

seems like backing up the gerrit2 user home folder would help as well:
http://groups.google.com/group/repo-discuss/browse_thread/thread/9d7793201d8c4031

thanks,
    Itamar

>
> - - Karsten
>
>> 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 _______________________________________________ Infra
>> mailing list Infra at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/infra
>
> - --
> 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/
>
> iD8DBQFO3/zw2ZIOBq0ODEERAlejAKDG3/9lQmdD+QLI/Ur+ArWKqUPGRwCg2/ew
> oI6DatY8SIv+6uHIMvsMoDM=
> =U0S9
> -----END PGP SIGNATURE-----
> _______________________________________________
> Infra mailing list
> Infra at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/infra




More information about the Infra mailing list