OUD - Backup/Restore Does Not Seem to Work With Replication Enabled

(Doc ID 2153860.1)

Last updated on JANUARY 06, 2018

Applies to:

Oracle Unified Directory - Version and later
Information in this document applies to any platform.


OUD as LDAP Backup/Restore does not work with replication enabled

Configuration consists of 2 servers with a replication configuration.
While testing the Backup/Restore or Export/Import process, entries are not reflecting accurate values.
The backup/restore and export/import process seems to not be working.


Customer test procedure to test backup (with replication enabled) -

1) Make backup on one replica (replica #1)

2) Make a change on replica #1

3) Restore the backup on replica #1 which does not contain the change from step #2

4) Check if restore is successful if change is not returned on replica #1


Result - Change made on replica #1 (Step #2) exists after replica restored from backup.

This caused the customer to think the restore was not successful.



Customer was given this information to show that restoration of a replica should be done by allowing the replication process to update the replica that is out of sync but the customer wants to test restoring from a backup (with replication enabled) and the test was not successful -

16.3.7 Restoring Replicated Directory Servers - http://docs.oracle.com/cd/E29407_01/admin.111200/e22648/managing_data.htm#solRESTORING-REPLICATED-DIRECTORY-SERVERS

When restoring a replicated server, ensure that the configuration file install-dir/config/config.ldif is the same as when the backup was made. Restore the config.ldif file prior to restoring the server back ends.

You cannot restore an old backup to a master server because it might be out of date. Rather allow the replication mechanism to bring a master up to date with the other master servers by setting that master to read-only. When the master has been synchronized, you can reset it to read-write.

If you need to restore a replicated server, reinitialize the server from one of the other replicated servers by importing an LDIF file.





Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms