Skip Headers
Oracle® Fusion Middleware Administrator's Guide for Oracle Internet Directory
11g Release 1 (11.1.1)

Part Number E10029-03
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
PDF · Mobi · ePub

25 Backing Up and Restoring Oracle Internet Directory

This chapter tells how to backup and restore both small and large directories. It contains these topics:

25.1 Introduction to Backing Up and Restoring Oracle Internet Directory

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.

25.2 Backing Up and Restoring a Small Directory or Specific Naming Context

To backup and restore a small directory or specific naming context in directory, do the following:

  1. Back up the node, as follows:

    1. Ensure that the environment variable ORACLE_INSTANCE is set correctly.

    2. Ensure all Oracle Internet Directory servers, both LDAP and replication, are stopped on the node.

    3. Enter this command:

      ldifwrite connect="connect_string" basedn="naming_context" \ 
  2. Start the directory server on the new node by entering this command:

    opmnctl startproc process-type=OID 
  3. 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"


    If you back up data from an earlier version of Oracle Internet Directory, such as 10g Release 2 (, then restore it on a node running 10g ( or later, you must update the password policy entries as described in "Password Policy and Fan-out Replication" on page 30-32.

25.3 Backing Up and Restoring a Large Directory

For instructions on backing up and restoring a large directory, see the backup and recovery chapter in Oracle Fusion Middleware Administrator's Guide.