Red Hat Training

A Red Hat training course is available for Red Hat Directory Server

A.6. Utilities for Restoring and Backing up Databases: db2archive

Backs up all databases to the archives.

ns-slapd db2archive -D configDir -a archiveDir


Table A.4. db2archive 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.
-a archiveDir Specifies the archive directory.