1. With all servers online, the dsreplication pre-external-initialization command must be run once against any server in the topology. This stops replication for the domain. No writes are made by clients to any of the servers.
    $ bin/dsreplication pre-external-initialization --hostname austin01.example.com \
       --port 1389 --baseDN dc=example,dc=com --adminUID admin \
       --adminPassword password --no-prompt
  2. Using import-ldif, replace the data for dc=example,dc=com. Make sure that the input LDIF is free of any replication attributes by using the --excludeReplication option. The --overwriteExistingEntries option is necessary to overwrite the existing data for the domain. For example, to perform the import-ldif with the server offline:
    $ bin/import-ldif --ldifFile new-data.ldif --backendID userRoot --excludeReplication --overwriteExistingEntries
  3. Initialize the other servers in the topology with dsreplication initialize, using the server which has the new data as the source host. For example:
    $ bin/dsreplication initialize --hostSource austin01.example.com --portSource 1389 \
       --hostDestination budapest01.example.com --portDestination 1389 \
       --adminUID admin --adminPassword password --baseDN dc=example,dc=com \
       --no-prompt
  4. Run dsreplication post-external-initialization once from any server in the topology. All servers in the topology must be online:
    $ bin/dsreplication post-external-initialization --hostname austin01.example.com \
       --port 1389 --baseDN dc=example,dc=com --adminUID admin \
       --adminPassword password --no-prompt