[ZODB-Dev] Remember date of last pack?

Hanno Schlichting hanno at hannosch.eu
Mon Jul 26 11:38:10 EDT 2010


On Mon, Jul 26, 2010 at 5:14 PM, Christian Zagrodnick <cz at gocept.com> wrote:
> for monitoring if a storage has been packed it would be handy if it
> remembered the date of its last pack. An easy solution for file storage
> would be to create a Data.fs.packed file.
>
> Other ways do determine the date would be:
>
> - Use age of Data.fs.old: very implicit; file is not available during
> packing (thus monitoring becomes difficult); it is not required to keep
> Data.fs.old
> - Provide a wrapper script around zeopack which stores the information:
> while that would work it is rather tedious to provide that again and
> again for each buildout/installation.

- 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.

Hanno


More information about the ZODB-Dev mailing list