Configuring how Amazon DataSync verifies data integrity - Amazon DataSync
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Configuring how Amazon DataSync verifies data integrity

During a transfer, Amazon DataSync always checks the integrity of your data, but you can specify how and when this verification happens with the following options:

  • Verify only the data transferred (recommended) – DataSync calculates the checksum of transferred files and metadata at the source location. At the end of the transfer, DataSync then compares this checksum to the checksum calculated on those files at the destination.

    We recommend this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations.

  • Verify all data in the destination – At the end of the transfer, DataSync scans the entire source and destination to verify that both locations are fully synchronized.

    You can't use this option when transferring to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. For more information, see Storage class considerations with Amazon S3 locations.

  • Check integrity during transfer – DataSync doesn't run additional verification at the end of the transfer. All data transmissions are still integrity-checked with checksum verification during the transfer.

The following instructions describe how to configure data verification when creating a task. You also can configure this when editing a task or starting a task execution.

To configure data verification by using the console
  1. Open the Amazon DataSync console at https://console.amazonaws.cn/datasync/.

  2. In the left navigation pane, choose Tasks, and then choose Create task.

  3. Configure your task's source and destination locations.

    For more information, see Working with Amazon DataSync locations.

  4. For Verify data, choose one of the following:

    • Verify only the data transferred (recommended)

    • Verify all data in the destination

    • Check integrity during transfer

You can configure how DataSync verifies data with the following operations: