Appendix A. Using the ns-slapd Command-Line Utilities
322
Option
Description
-d
debugLevel
Specifies the debug level to use during the
db2ldif
runtime. For further information, refer
to
Section 2.3.1.44, “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 unique ID will not be included
in the LDIF output. By default, the server
includes the unique ID for all entries with a
unique ID in the exported LDIF file. Only use this
option to use the exported LDIF to initialize a 4.x
consumer server; otherwise, this option does
not cause the server to create a unique ID for
entries but simply takes what already exists in
the database.
-U
Outputs the contents of the database without
wrapping lines.
-x
excludeSuffix
Specifies a suffix or suffixes to exclude in the
export. There can be multiple
-x
arguments.
If neither
-s
or
-x
is not specified, the server
exports all suffixes within the database. When
using both
-x
and
-s
options with the same
suffix, the
-x
operation takes precedence.
Exclusion always takes precedence over
inclusion. If the LDIF file will be imported into
Summary of Contents for 8.1
Page 8: ...viii ...
Page 14: ...xiv ...
Page 16: ...2 ...
Page 250: ...236 ...
Page 334: ...320 ...
Page 372: ...358 ...