pack a ZODB without running Zope
z3c.offlinepack packs a ZODB storage without running any part of the Zope application server. Only an appropriate version of ZODB3 for the ZODB storage is required. Apply only to copies of ZODB storages, not ZODB storages currently in use. The distribution is a zc.buildout that installs the script locally and makes it very easy to get a working script without modifying the system.
I wrote this package while debugging production sites where I needed to copy the ZODB to my development environment. Transferring the unpacked ZODB often takes too long and I was tired of stopping instances or creating an instance just to pack a ZODB.
Updated on 22 November 2008
Imported from Plone on Mar 15, 2021. The date for this update is the last modified date in Plone.