OUD - Backup/Restore Does Not Seem to Work With Replication Enabled
Last updated on NOVEMBER 14, 2016
Applies to:Oracle Unified Directory - Version 22.214.171.124.0 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 -
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