ns-slapd and slapd.exe Command-Line Utilities
for Exporting Databases
db2ldif
Exports the contents of the database to LDIF.
Syntax
Shell script (UNIX):
Batch file (Windows):
For
slapd-serverID
full path. You must also specify either the
Options
Option
-a
-d
-D
-N
ns-slapd db2ldif -D configDir -a outputFile
[-d debugLevel] [-n backendInstance] [ -r] [-s
includeSuffix] [-x excludeSuffix] [-N] [-u] -[U]
slapd.exe db2ldif -D configDir -a outputFile
[-d debugLevel] [-n backendInstance] [-r] [-s
includeSuffix] [-x excludeSuffix] [-N] [-u] [-U]
, the location of your server configuration directory, enter the
Parameter
Description
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.
debugLevel
Specifies the debug level to use during the db2ldif runtime.
For further information, see "nsslapd-errorlog-level (Error
Log Level)," on page 58.
configDir
Specifies the location of the server configuration directory that
contains the configuration information for the export process.
You must specify the full path to the slapd-serverID
directory.
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.
Appendix A
ns-slapd and slapd.exe Command-Line Utilities for Exporting Databases
or the
-n
-s
Using the ns-slapd and slapd.exe Command-Line Utilities
option.
287
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 and is the answer not in the manual?
Questions and answers