Oracle® Internet Directory Administrator's Guide,
10g Release 2 (10.1.2) B14082-02 |
|
Previous |
Next |
This chapter tells how to backup and restore both small and large directories. It contains these topics:
To backup and restore a small directory or specific naming context in directory, do the following:
Backup the node by using the ldifwrite utility. Enter this command:
ldifwrite -connect connect_string -b naming_context -f backup.ldif
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
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
For instructions on backing up and restoring a large directory, see Oracle Application Server Administrator's Guide.