|Oracle® Fusion Middleware Administrator's Guide for Oracle Internet Directory
11g Release 1 (11.1.1)
This chapter tells how to backup and restore both small and large directories. It contains these topics:
You can back up a small directory or a specific naming context by using
ldifwrite. For larger directories, perform an Oracle Fusion Middleware backup. See the chapters on backup and recovery in Oracle Fusion Middleware Administrator's Guide.
Back up the node, as follows:
Ensure that the environment variable ORACLE_INSTANCE is set correctly.
Ensure all Oracle Internet Directory servers, both LDAP and replication, are stopped on the node.
Enter this command:
ldifwrite connect="connect_string" basedn="naming_context" \ ldiffile="backup.ldif"
Start the directory server on the new node by entering this command:
opmnctl startproc process-type=OID
Load data into the new node by using the
bulkload utility. Enter this command:
bulkload connect="connect_string" check="TRUE" generate="TRUE" \ load="TRUE" restore="TRUE" append="TRUE" file="/complete_path/backup.ldif"
Note:If you back up data from an earlier version of Oracle Internet Directory, such as 10g Release 2 (10.1.2.0.2), then restore it on a node running 10g (10.1.4.0.1) or later, you must update the password policy entries as described in "Password Policy and Fan-out Replication" on page 30-32.
For instructions on backing up and restoring a large directory, see the backup and recovery chapter in Oracle Fusion Middleware Administrator's Guide.