Exporting Data
156
Red Hat Directory Server Administrator’s Guide • May 2005
An example of performing an import using the
ldif2ldap
UNIX shell script
follows:
ldif2ldap "cn=Directory Manager" secret
/opt/redhat-ds/servers/slapd-dirserver/ldif/demo.ldif
The
ldif2ldap
script requires you to specify the DN of the administrative user,
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
Splitting a Database Contents into Two Databases
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...