Stopping a Migration Task
After the source database and services are migrated to the destination database, you can stop the migration task. To prevent data from being overwritten after the source database and services are migrated to the destination database, operations on the source database should not be synchronized to the destination database. This section describes how to stop a migration task to achieve this goal.
You can stop a task in any of the following statuses:
- Creating
- Configuration
- Pending start
- Full migration
- Incremental migration
- Incremental migration failed
- Task stopping
- Fault rectification
- You are advised to stop the task before performing other operations, such as disconnecting the network between the source database and the replication instance. Otherwise, an alarm indicating that the source database cannot be connected will be generated.
- For a task in the Configuration state, it cannot be stopped if it fails to be configured.
- For a task in the Fault rectification state, it cannot be stopped if the fault is being rectified.
- After a task is stopped, it cannot be resumed.
Prerequisites
- You have logged in to the DRS console.
- A migration task is in progress.
Procedure
- On the Online Migration Management page, locate the target task and click Stop in the Operation column.
- In the displayed dialog box, click OK.
- Generally, ending a task can ensure the integrity of special objects (triggers and events are migrated in the final migration phase). In rare cases (for example, network exceptions), a task may fail to be ended. If a task fails to be stopped for multiple times, you can select Forcibly stop task to reduce the wait time.
- If you forcibly stop a task, the migration task will be stopped first. Triggers and events may not be completely migrated in some cases and you need to manually migrate them.
Last Article: Pausing a Migration Task
Next Article: Deleting a Migration Task
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.