Exporting Data; Figure 4-1 Splitting A Database Contents Into Two Databases - Red Hat DIRECTORY SERVER 7.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Exporting Data

An example of performing an import using the
follows:
ldif2ldap "cn=Directory Manager" secret
/opt/redhat-ds/servers/slapd-dirserver/ldif/demo.ldif
The
ldif2ldap
the password of the administrative user, and the absolute path and filename 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.
Suppose your directory is contained by one database, and you decide to split its
contents over two databases, as illustrated in Figure 4-1.
Figure 4-1
156
Red Hat Directory Server Administrator's Guide • May 2005
script requires you to specify the DN of the administrative user,
Splitting a Database Contents into Two Databases
UNIX shell script
ldif2ldap

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents