1UPGRADEDB(8) System Manager's Manual UPGRADEDB(8)
2
3
4
6 upgradedb - Directory Server script for upgrading the database
7
9 upgradedb [-a archivedir] [-Z serverID] [-f] [-v] [-d debuglevel] [-h]
10
12 Checks the DB version and if it has the old index formatting then it
13 will rebuild the indexes. This is usually needed after migrating from
14 older versions of Directory Server. This script must be run while the
15 server is stopped.
16
18 A summary of options is included below:
19
20 -n Backend Name
21 The name of the LDBM database to reindex. Example: userRoot
22
23 -a Database directory
24 The full path to the database directory.
25
26 -Z Server Identifier
27 The server ID of the Directory Server instance. If there is
28 only one instance on the system, this option can be skipped.
29
30 -N Only checks whether any DNs in the database need to be updated.
31
32 -h
33 Display the usage.
34
36 upgradedb -Z instance2
37
39 Exit status is zero if no errors occur. Errors result in a non-zero
40 exit status and a diagnostic message being written to standard error.
41
43 upgradedb was written by the 389 Project.
44
46 Report bugs to https://pagure.io/389-ds-base/new_issue
47
49 Copyright © 2017 Red Hat, Inc.
50
51
52
53
54 March 31, 2017 UPGRADEDB(8)