Ns-Slapd And Slapd.exe Command-Line Utilities For Restoring And Backing Up Databases; Ldif2Db; Syntax; Options - Netscape DIRECTORY SERVER 7.0 Configuration Manual

Configuration, command, and file reference
Hide thumbs Also See for NETSCAPE DIRECTORY SERVER 7.0:
Table of Contents

Advertisement

ns-slapd and slapd.exe Command-Line Utilities
for Restoring and Backing up Databases

ldif2db

Imports LDIF files to the database.

Syntax

Shell script (UNIX):
Batch file (Windows):
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

Option
-d
-D

ns-slapd and slapd.exe Command-Line Utilities for Restoring and Backing up Databases

ns-slapd ldif2db -D configDir -i ldifFile
[-d debugLevel] [-g string] [-n backendInstance] -O
[-s includeSuffix] [-x excludeSuffix]
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.
Appendix A
serverRoot/slapd-serverID/ldif
or the
option.
-s
Using the ns-slapd and slapd.exe Command-Line Utilities
directory. You
289

Advertisement

Table of Contents
loading

Table of Contents