Skip Navigation Links | |
Exit Print View | |
Oracle Directory Server Enterprise Edition Administration Guide 11g Release 1 (11.1.1.5.0) |
Part I Directory Server Administration
2. Directory Server Instances and Suffixes
3. Directory Server Configuration
6. Directory Server Access Control
7. Directory Server Password Policy
8. Directory Server Backup and Restore
Backing Up Directory Data Only
To Back Up Your Directory Data
Restoring the Supplier in a Single-Master Scenario
Restoring a Supplier in a Multi-Master Scenario
Restoring a Dedicated Consumer
Restoring a Master in a Multi-Master Scenario
To Begin Accepting Updates Through the Command Line
To Make a Backup for Disaster Recovery
To Restore for Disaster Recovery
9. Directory Server Groups, Roles, and CoS
10. Directory Server Replication
13. Directory Server Attribute Value Uniqueness
15. Directory Server Monitoring
Part II Directory Proxy Server Administration
16. Directory Proxy Server Tools
17. Directory Proxy Server Instances
19. Directory Proxy Server Certificates
20. Directory Proxy Server Load Balancing and Client Affinity
21. Directory Proxy Server Distribution
22. Directory Proxy Server Virtualization
23. Virtual Data Transformations
24. Connections Between Directory Proxy Server and Back-End LDAP Servers
25. Connections Between Clients and Directory Proxy Server
26. Directory Proxy Server Client Authentication
27. Directory Proxy Server Logging
28. Directory Proxy Server Monitoring and Alerts
Part III Directory Service Control Center Administration
The following procedures describe how to restore suffixes in your directory. Your server must have been backed up using the procedures described in Backing Up Directory Data Only. Before restoring suffixes involved in replication agreements, read Restoring Replicated Suffixes.
Caution - Do not stop the server during a restore operation. Because restoring your server overwrites any existing database files, any modifications that were made to the data since the backup are lost. |
You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.
If your server is local and stopped, type:
$ dsadm restore instance-path archive-dir
For example, to restore a backup from a backup directory, type:
$ dsadm restore /local/dsInst/ local/ds/bak/2006_07_01_11_34_00
If your server is running, type:
$ dsconf restore -h host -p port archive-dir
For example, to restore a backup from a backup directory:
$ dsconf restore -h host1 -p 1389 /local/dsInst/bak/2006_07_01_11_34_00
Do not stop the server during a restore operation.
Note - The backup copy must be saved on the server, not on the system that is running the dsconf command.
After a restore, there is no way to go back to the original server content.
Note - To save disk space, you can restore server by moving files in place of copying them. You can perform this operation by setting the —f move-archive flag with the dsadm restore or the dsconf restore command. However, if the transaction logs cannot be moved during the copyless restore operation, the copy operation is performed instead.
For this operation to complete successfully, the backup and instance files must be on the same filesystem. If you choose to perform the copyless restore, the server data is overwritten with the data in the backup copy and the backup copy also gets destroyed.
For more information about these commands, see the dsadm(1M) and dsconf(1M) man pages.