Server User Manual

Utilities for Restoring and Backing up Databases: db2archive
327
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.3. archive2db Options
A.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
A.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