Red Hat Directory Server 8.0 Configuration, Command, and File Reference
Options.
Option Description
-a outputFile Defines the output file in which the server
saves the exported LDIF. This file is stored by
default in the directory where the
command-line utility resides.
-d debugLevel Specifies the debug level to use during the
db2ldif runtime. 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
configuration information for the export
process. This must be the full path to the
configuration directory,
/etc/dirsrv/slapd-instance_name.
-E Decrypts an encrypted database during
export. This option is used only if database
encryption is enabled.
-m Sets minimal base-64 encoding.
-M Uses several files to store the output LDIF,
with each instance stored in instance
filename, where filename is the filename
specified in option -a.
-n backendInstance Specifies the name of the backend instance to
be exported.
-N Specifies that entry IDs are not to be included
in the LDIF output. The entry IDs are
necessary only if the db2ldif output is to be
used as input to db2index.
-r Exports replication state information. The
server must be shut down before exporting
using this option.
-s includeSuffix Specifies the suffix or suffixes to include in the
export. There can be multiple -s arguments.
-u Specifies that the uniqueID will not be
included in the LDIF output. By default, the
server includes the uniqueID for all entries
with a uniqueID in the exported LDIF file. Only
use this option to use the exported LDIF to
initialize a 4.x consumer server; otherwise,
Appendix A. Using the ns-slapd Command-Line Utilities
278