Skip to content. | Skip to navigation

Useful ZODB tools

Here's a great link about maintaining your Data.fs zodb.

In particular, given a standard Plone unified installer setup, you can run these from within your instance.

Low level check:

./bin/zopepy ../Zope-2.10.9-final-py2.4/utilities/ZODBTools/fstest.py var/filestorage/Data.fs

The above produces no output under normal circumstances. It's supposed to support a -v option, but that doesn't seem to work properly.

Object sanity check:

./bin/zopepy ../Zope-2.10.9-final-py2.4/utilities/ZODBTools/fsrefs.py var/filestorage/Data.fs

Again, no output if all is well and -v doesn't work as advertised.

Human readable dump:

./bin/zopepy ../Zope-2.10.9-final-py2.4/utilities/ZODBTools/fsdump.py var/filestorage/Data.fs > fsdump.output

Lots of output here. One line for each object in each transaction.

Document Actions