ns-slapd Command-Line Utilities for Restoring and
Backing up Databases
ldif2db
Imports LDIF files to the database.
Syntax
Shell script:
For
configDir
full path. ldifFile is the name of the file containing the LDIF to be imported. You can
find a demo LDIF file under the
must also specify either the
Options
Optio
n
-d
-D
ns-slapd ldif2db -D configDir -i ldifFile
[-d debugLevel] [-g string] [-n backendInstance] -O
[-s includeSuffix] [-x excludeSuffix]
, which is the location of your server configuration directory, enter the
-n
Parameter
Description
debugLevel
Specifies the debug level to use during 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 import process.
You must specify the full path to the slapd-serverID
directory.
ns-slapd Command-Line Utilities for Restoring and Backing up Databases
serverRoot/slapd-serverID/ldif
or the
option.
-s
Appendix A
Using the ns-slapd Command-Line Utilities
directory. You
297
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 and is the answer not in the manual?