---
title: "The <code class=\"cmdname\"><strong>resync</strong></code> command"
description: 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.
component: pingdirectory
version: 11.0
page_id: pingdirectory:pingdatasync_server_administration_guide:pd_sync_resync_tool
canonical_url: https://docs.pingidentity.com/pingdirectory/11.0/pingdatasync_server_administration_guide/pd_sync_resync_tool.html
revdate: September 13, 2023
---

# 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.
