March 31, 2017
dbverify - Directory Server script for indexing attributes
dbverify [-Z serverID] [-n backend] [-V] [-v] [-d debuglevel] [-h]
Verifies the backend database files. If the server crashes because of a corrupted database, this command can be used to verify the integrity of the different database files to help isolate any problems. This script should be run while the server instacne is stopped.
A summary of options is included below:
|-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.|
|-n Backend Name|
|The name of the LDBM database to reindex. Example: userRoot|
|-a Database Directory|
|Location of database if it is different than what is in the server configuration(e.g. backup directories)|
|-d Debug Level|
|Sets the debugging level.|
|-v||Display the version of the Directory Server.|
|-h||Display the usage.|
dbverify -Z instance3 -n userRoot -V
Exit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.
dbverify was written by the 389 Project.
Report bugs to https://pagure.io/389-ds-base/new_issue
Copyright © 2017 Red Hat, Inc.