IntroductionThis is part of a series of articles on backing up computers. The top page is Design for an Archiving Backup System.
This page describes the command line syntax of the arcvreset.py program.
The arcvreset.py program is a utility to inspect and reset the next package ID and next backup event IDs in the ZODB.
The arcvback.py and service.py programs keep this information in the top level of the version database directory. The two pieces of information are:
SyntaxThe arcvreset.py program gets its configuration information from the config.ini file.
The full command syntax is:
arcvreset [-h] [-ini path/config.ini] [-PID pid] [-EID eid]
where items in the square brackets are optional.
If you run it without any parameters it just prints the current values of the nextPID and nextEID for the version database defined in the default config.ini.
OptionsThe -h parameter will bring up a short syntax help prompt and then stop.
The -ini parameter allows you to specify an alternate config.ini file.
The -PID parameter specifies a new value to set the next package ID to. It will not let you reduce the current value of PID as that can lead to duplication issues
The -EID parameter specifies a new value to set the next package ID to. It will not let you reduce the current value of EID as that can lead to duplication issues