Exporting Data - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Exporting Data

To import LDIF using
From the command line, change to the following directory:
1.
/usr/netscape/servers/slapd-
where serverID is the name of your Directory Server.
Run the
2.
For more information about using this script, refer to Netscape Directory Server
Configuration, Command, and File Reference.
Two examples of performing an import using
Windows batch file:
ldif2ldap "cn=Directory Manager" secret
c:\netscape\servers\slapd-dirserver\ldif\demo.ldif
UNIX shell script:
ldif2ldap "cn=Directory Manager" secret
/usr/netscape/servers/slapd-dirserver/ldif/demo.ldif
The
ldif2ldap
password of the administrative user, and the absolute path and file name of the
LDIF file(s) to be imported.
Exporting Data
You can use the LDAP Data Interchange Format (LDIF) to export database entries
from your databases. LDIF is a standard format described in RFC 2849, "The LDAP
Data Interchange Format (LDIF) - Technical Specification."
Exporting data can be useful for the following:
Backing up the data in your database
Copying your data to another Directory Server
Exporting your data to another application
Repopulating databases after a change to your directory topology
For example, suppose your directory is contained by one database and you decide
to split its contents over two databases as illustrated in Figure 4-1.
146
Netscape Directory Server Administrator's Guide • May 2002
ldif2ldap
command-line script.
ldif2ldap
script requires you to specify the DN of the administrative user, the
:
serverID
/
ldif2ldap
follow:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents