Check if all data from a ZODB can be loaded
Project description
Overview
Verify a ZODB by iterating and loading all records. Problems are reported in detail. A debugger is provided, together with decompilation information.
zodbverify is available as a standalone script and as addon for plone.recipe.zope2instance.
Usage
Script
The verification runs on a plain ZODB file. The Zope application is not started.
Run i.e.:
bin/zodbverify -f var/filestorage/Data.fs
Usage:
zodbverify [-h] -f ZODBFILE [-D] Verifies that all records in the database can be loaded. optional arguments: -h, --help show this help message and exit -f ZODBFILE, --zodbfile ZODBFILE -D, --debug pause to debug broken pickles
plone.recipe.zope2instance integration
The verification runs in the context of the initialized Zope application.
Usage:
./bin/instance zodbverify [-h] [-D] Verifies that all records in the database can be loaded. optional arguments: -h, --help show this help message and exit -D, --debug pause to debug broken pickles
Source Code
Contributors please read the document Process for Plone core’s development
Sources are at the Plone code repository hosted at Github.
Changelog
1.0.2 (2019-08-08)
Bug fixes:
Open Data.fs in read only mode. (#2)
1.0.1 (2019-05-09)
Bug fixes:
Fix project description. [jensens] (#1)
1.0 (2019-05-09)
New features:
Initial effort. Base code taken from Products.CMFPlone (created by @davisagli). Enhanced and packaged for more general Zope use. [dwt,jensens] (#1)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zodbverify-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8945a3477e423f980fcbf95050df659f92d93cfb1d3dfb6d790c467f19ceaa1 |
|
MD5 | aef98994cd71de9db13d962e17a43e45 |
|
BLAKE2b-256 | b72efb39d496a782cdcfad158fcffd5ae5cfc2f71e36b59f3f3d68fbfb7518e8 |