Oracle® Fusion Middleware Administrator's Guide for Oracle Internet Directory 11g Release 1 (11.1.1) Part Number E10029-01 |
|
|
View PDF |
This chapter tells how to backup and restore both small and large directories. It contains these topics:
Introduction to Backing Up and Restoring Oracle Internet Directory
Backing Up and Restoring a Small Directory or Specific Naming Context
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.
To backup and restore a small directory or specific naming context in directory, do the following:
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.