Skip Headers
Oracle Internet Directory Administrator's Guide
10g (10.1.4.0.1)

Part Number B15991-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

15 Backup and Restoration of a Directory

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

15.1 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. Backup the node by using the ldifwrite utility. Enter this command:

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

    oidctl connect= connect_string  server=oidldapd instance=1 \
           flags= '-p port_number' start
    
    
  3. Load data into the new node by using the ldapaddmt 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), you must update the password policy entries as described in "Password Policy and Fan-out Replication".

15.2 Backing Up and Restoring a Large Directory

For instructions on backing up and restoring a large directory, see Oracle Application Server Administrator's Guide.