Netscape DIRECTORY SERVER 6.01 - ADMINISTRATOR Administrator's Manual page 142

Table of Contents

Advertisement

Importing Data
Two examples of performing an import using
Windows NT batch file:
ldif2db.bat -n Database1
-i c:\netscape\servers\slapd-dirserver\ldif\demo.ldif
-i c:\netscape\servers\slapd-dirserver\ldif\demo2.ldif
UNIX shell script:
ldif2db -n Database1
-i /usr/netscape/servers/slapd-dirserver/ldif/demo.ldif
-i /usr/netscape/servers/slapd-dirserver/ldif/demo2.ldif
The following table describes the
Option Name
-i
-n
For more information about using this script, refer to the Netscape Directory Server
Configuration, Command, and File Reference.
Importing Using the ldif2db.pl Perl Script
As with the
database you specify. This script requires the server to be running in order to
perform the import.
CAUTION
From the command line, change to the following directory:
1.
/usr/netscape/servers/slapd-
where serverID is the name of your directory server.
142
Netscape Directory Server Administrator's Guide • January 2002
Description
Specifies the full path name of the LDIF file(s) to be imported.
This option is required. You can use multiple -i arguments to
import more than one LDIF file at a time. When you import
multiple files, the server imports the LDIF files in the order in
which you specify them from the command line.
Specifies the name of the database into which you are
importing the data.
script, the
ldif2db
ldif2db.pl
This script overwrites the data in your database.
ldif2db
options used in the examples:
ldif2db
script overwrites the data in a
serverID
/
follow:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents