This topic describes how to stop a data migration task. If you do not need a task or the task failed, you can stop the task. This ensures that data from the source database does not overwrite data in the destination database.

Prerequisites

The data migration task is in the Migrating, Paused, or Migration Failed state.

Impact

A stopped data migration task is in the Completed state. You can only delete the task when it is in this state.

Procedure

  1. Log on to the DTS console.
    Note If you are redirected to the Data Management (DMS) console, you can click the old icon in the lower-right corner to go to the previous version of the DTS console.
  2. In the left-side navigation pane, click Data Migration.
  3. At the top of the Migration Tasks page, select the region where the destination cluster resides.
  4. Perform operations based on the selected migration type.
    Warning To minimize the negative impact of data migration on your business, we recommend that you switch your workloads to the destination instance and prepare a rollback solution. For more information, see Switch workloads to the destination database. If you do not need to switch your workloads, you can stop the migration task by using the following procedure.
    • Full data migration

      Do not manually stop a task during full data migration. Otherwise, the system may fail to migrate all data. Wait until the migration task automatically ends.

    • Incremental data migration

      The task does not automatically end during incremental data migration. You must manually stop the migration task.

      1. Wait until the task progress bar shows Incremental Data Migration and The migration task is not delayed. Then, stop writing data to the source database for a few minutes. In some cases, the progress bar shows the delay time of incremental data migration.
      2. After the status of incremental data migration changes to The migration task is not delayed, manually stop the migration task.Stop a task during incremental migration