Skip Headers
Oracle® Internet Directory Administrator's Guide,
10g Release 2 (10.1.2)
B14082-02
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

11 Backup and Restoration of a Directory

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

11.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  -b naming_context -f 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.sh -connect connect_string -check -generate -load -restore \
           -append /complete_path/backup.ldif
    

11.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.