PingDirectory

The resync command

The resync command provides bulk synchronization that can be used to verify the synchronization setup. The command operates on a single Sync Pipe at a time, retrieves entries from the Sync Source in bulk, and compares the source entries with the corresponding destination entries. If destination entries are missing or attributes are changed, they are updated.

The command provides a --dry-run option that can be used to test the matches between the Sync Source and Destination, without committing any changes to the target topology. The resync command also provides options to write debugging output to a log.

The resync command should be used for relatively small datasets. For large deployments, export entries from the Sync Source into an LDIF file, run the bin/translate-ldif command to translate and filter the entries into the destination format, and then import the result LDIF file into the Sync Destination.

Use the resync --help command for more information and examples. Logging is located in logs/tools/resync.log and in logs/tools/resync-errors.log. If necessary, the logging location can be changed with the --logFilePath option.