On Mon, Dec 12, 2011 at 07:41:00AM -0800, Karsten 'quaid' Wade wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/10/2011 12:10 AM, Dan Kenigsberg wrote:
>
> The backup is never going to be a consistent snapshop,
I couldn't see a way to make a consistent snapshot; is there a better
or at least more consistent way to do the snapshot?
No, I do not think it is possible, without shutting down gerrit while backup is
taking place (and I do not think we should).
> but why add an intentional 20 minute window between the different
> backup jobs? why not serialize them in a single script?
It was more the way things got built than a specific plan. I wanted a
buffer so that backups could be complete before the next one starts -
didn't want to risk the backup by abusing resources all at the same time.
The backup scripts were written so we could reuse them easily on other
hosts, but it wouldn't be hard to do it all in one script, serially.
yeah, I think running the scripts serially woul leave less open questions if and
when we need to restore.