On 2010-07-26 17:38:10 +0200, Hanno Schlichting said:

> On Mon, Jul 26, 2010 at 5:14 PM, Christian Zagrodnick <c...@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.

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.

Christian Zagrodnick · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to