Deutsch Open-Source Weblog Resources Imprint

Python, Zope, Plone — Development and Consulting

What can we do for you?

Your contact
Andreas Jung will assist you. Please call
+49(0)70 71/79 33 76

Or use our Callback service

Checking your ZODB storages for PosKey errors

Here is the blueprint...
  • create a virtualenv environment for Python 2.6
  • install zc.zodbdgc:
  • bin/easy_install zc.zodbdgc
  • create a copy of the storage file (your Data.fs)
  • create a configuration file in.cfg for this storage:
  • <zodb 1>
    <filestorage main>
    path /path/to/Data_copied.fs
    </filestorage>
    </zodb>
  • run the check (the script will give you some reasonable output possible Poskey error if there are any. For a consistent storage there won't be any output):

    bin/multi-zodb-check-refs in.cfg

     

Artikelaktionen

The Zope & Plone
Expert Network

 
ZOPYX Ltd., Charlottenstr. 37/1, D-72070 Tübingen, Germany
Phone +49(0)70 71/79 33 76, Fax +49(0)70 71/7 93 68 40, Email: info@zopyx.com
Contact form Callback service Print page