Stop a data migration task

Last Updated: Feb 20, 2020

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

At the top of Migration Tasks the page, select the region where the destination cluster resides.

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.

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.

After the status of incremental data migration changes to The migration task is not delayed, manually stop the migration task.