upgradedb (8) - Linux Man Pages
NAMEupgradedb - Directory Server script for upgrading the database
SYNOPSISupgradedb [-a archivedir] [-Z serverID] [-f] [-v] [-d debuglevel] [-h]
DESCRIPTIONChecks the DB version and if it has the old index formatting then it will rebuild the indexes. This is usually needed after migrating from older versions of Directory Server. This script must be run while the server is stopped.
OPTIONSA summary of options is included below:
- -n Backend Name
- The name of the LDBM database to reindex. Example: userRoot
- -a Database directory
- The full path to the database directory.
- -Z Server Identifier
- The server ID of the Directory Server instance. If there is only one instance on the system, this option can be skipped.
- Only checks whether any DNs in the database need to be updated.
Display the usage.
- upgradedb -Z instance2
DIAGNOSTICSExit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.
AUTHORupgradedb was written by the 389 Project.
REPORTING BUGSReport bugs to https://fedorahosted.org/389/newticket.
COPYRIGHTCopyright © 2013 Red Hat, Inc.