If you have changed the LDAP changelog location, to reset it to its original
location, use dsconfig.
The following command resets the LDAP changelog backend to <server-root>/db location.
$ bin/dsconfig set-backend-prop --backend-name changelog \ --reset "db-directory"Note:
Remember to include the LDAP connection parameters such as host name, port, bindDN, and bindPassword.
If the LDAP changelog backend at the previous location is enabled:
- Stop the server.
- Copy the database files to the new LDAP changelog location.
- Restart the server.
The server attempts to use whatever it finds in the configured location when it starts. If there is nothing there, it creates an empty database.