This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Znap2 is a universal ZoDB snapshotter. It allows making multiple snapshots of ZoDB database(s) and restoring the database(s) to any past snapshot.


Before we make any snapshots, we need to intialize the snapshot storage:

znap2 init <db-file> [...]

This creates .znap2 directory that will contain the configuration and all snapshots. Initially only configuration file is created and the length of all database files is recorded there.

After the storage is initialized we can make snapshots:

znap2 save <snapshot-id>

This will store the tail of each database file that the storage is tracking and a copy of its index file. This information is sufficient to restore the snapshot of ZoDB because all writing to the main database file always happens at the end.

To list available snapshots use the following command:

znap2 list

Some time later we can revert to an earlier stored snapshot:

znap2 restore <snapshot-id>

This will truncate the databases to their size at the time of initialization, then append the stored tails and replace the index files with stored copies of the index files.

Finally the snapshots that are no longer needed can be deleted with:

znap2 delete <snapshot-id>

Note that packing the database will invalidate all snapshots. If you need to pack the database, delete the storage and start over.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ost-znap2-1.0b.tar.gz (3.8 kB) Copy SHA256 Checksum SHA256 Source Jul 23, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting