1. Use dsconfig to change the database location for the LDAP Changelog, which by default is at <server-root>/db. The following command sets the LDAP changelog backend to <server-root>/db2. Remember to include the LDAP connection parameters (for example, host name, port, bindDN, bindPassword).
    $ bin/dsconfig set-backend-prop --backend-name changelog \
      --set "db-directory:db2" --set "enabled:true"
    The database files are stored under <server-root>/db2/changelog. The files for this backend are stored in a sub-directory named after the backend-id property.
  2. Stop and restart the server. Since the LDAP changelog backend was previous disabled, there is no need to manually relocate any existing database files.
    $ bin/stop-server
    $ bin/start-server