[ZODB-Dev] Remember date of last pack?

Hanno Schlichting hanno at hannosch.eu
Mon Jul 26 14:52:31 EDT 2010


On Mon, Jul 26, 2010 at 8:12 PM, Christian Zagrodnick <cz at gocept.com> wrote:
> On 2010-07-26 17:38:10 +0200, Hanno Schlichting said:
>> - Configure repozo to do incremental backups and keep some old
>> backups. Configure zeopack to run regularly. Check that you have a
>> recent full repozo backup around, which gets created automatically
>> once you do a pack.
>
> I don't understand how that helps that the database was packed. If
> *course* there is an automatic job to pack the database. But that
> doesn't necessarily mean that it works. Hence a *test* to monitor that
> the database was packed.

In this configuration repozo only creates a full backup, if the
database is packed. Otherwise you will only get incremental backups.

Repozo already does check of the database file to see if it was packed
(by comparing the actual data inside the database file). This way you
are just reusing this information instead of incurring any extra cost.

Hanno


More information about the ZODB-Dev mailing list