Comparing PingDirectory servers for missing entries only using ldap-diff - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce
To compare two PingDirectory servers and return only those entries that are missing on one of the servers, use ldap-diff with the --missingOnly option.

This can significantly reduce the runtime for this utility.

$ bin/ldap-diff --outputLDIF difference.ldif \ 
  --sourceHost server1.example.com --sourcePort 1389 \ 
  --sourceBindDN "cn=Directory Manager" --sourceBindPassword secret1 \ 
  --targetHost server2.example.com --targetPort 2389 \ 
  --targetBindDN "cn=Directory Manager" --targetBindPassword secret2 \ 
  --baseDN dc=example,dc=com --searchFilter "(objectclass=*)" "^userpassword" \
  --missingOnly