Red Hat Directory Server 8.0 Configuration, Command, and File Reference

6. Utilities for Restoring and Backing up Databases:
db2archive
Backs up all databases to the archives.
Syntax.
ns-slapd db2archive -D configDir -a archiveDir
Options.
Option Description
-D configDir Specifies the location of the server
configuration directory that contains the
configuration information for the index
creation process. This must be the full path to
the configuration directory,
/etc/dirsrv/slapd-instance_name.
-a archiveDir Specifies the archive directory.
Table A.4. db2archive Options
7. Utilities for Creating and Regenerating Indexes:
db2index
Creates and regenerates indexes.
Syntax.
ns-slapd db2index -D configDir [ -d debugLevel ] -n backendName -t
attributeName[:indexTypes{:matchingRules}] [ -T vlvTag ]
Options.
Option Description
-d debugLevel Specifies the debug level to use during index
creation. For further information, refer to
Section 3.1.42, “nsslapd-errorlog-level (Error
Log Level)”.
-D configDir Specifies the location of the server
configuration directory that contains the
Appendix A. Using the ns-slapd Command-Line Utilities
282