ns-slapd and slapd.exe Command-Line Utilities
for Restoring and Backing up Databases
ldif2db
Imports LDIF files to the database.
Shell script syntax (UNIX)
ns-slapd ldif2db -D slapd-serverID -i ldif_file [-d debug_level ] [-g
string] [-n backend_instance] -O [-s include_suffix] -x exclude_suffix]
where ldif_file is the name of the file containing the LDIF to be imported and
slapd-serverID is the location of your server configuration directory. You can find a
demo LDIF file under
full path to the
Batch file syntax (NT)
slapd ldif2db -D slapd-serverID -i ldif_file [-d debug_level] [-g string]
[-n backend_instance] [-O] [-s include_suffix] [-x exclude_suffix]
NOTE
Options
-d
-D
ns-slapd and slapd.exe Command-Line Utilities for Restoring and Backing up Databases
/usr/netscape/server4/slapd- serverID /ldif
directory.
slapd- serverID
You must specify either the -n or the -s option.
Specifies the debug level to use during runtime. For further information
see "nsslapd-errorlog-level (Error Log Level)" on page 50.
Specifies the server configuration directory that contains the configuration
information for the import process. You must specify the full path to the
slapd-serverID directory.
Appendix A
Using the ns-slapd and slapd.exe Command-Line Utilities
. Enter the
247
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 and is the answer not in the manual?
Questions and answers