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's status is Migrating, Suspended, or Migration Failed.
Impact
Stopping a data migration task sets its status to Completed. After this, you can only delete the task.
Procedure
-
Log on to the DTS console.
NoteIf you are automatically redirected to the Data Management (DMS) console, you can click the
icon in the lower-right corner and then click
to return to the classic DTS console. -
In the left-side navigation pane, click Data Migration.
-
At the top of the Migration Tasks page, select the region of the destination cluster.
- Follow the steps for your migration type:
Warning To minimize business impact, perform a cutover and prepare a rollback solution. For more information, see Cutover procedure. If you do not need to perform a cutover, you can stop the migration task.
- 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
This type of task does not stop automatically; you must stop it manually.
- Wait until the task enters the Incremental Data Migration stage with a Undelayed status. Then, stop writes to the source database for a few minutes. During this period, the Incremental Data Migration status might report a latency.
- Wait for the Incremental Data Migration status to return to Undelayed. Once this is confirmed in the list, select the task's checkbox and click the StopEnd button in the batch operations bar at the bottom.
- Full data migration