Updated on 2024-07-11 GMT+08:00

Pausing a Migration Task

During migration, if the flow control mode cannot meet the requirements during peak hours, you can pause the migration task.

You can pause the following migration tasks:

  • To the cloud
    • MySQL->MySQL
    • MySQL->GaussDB(for MySQL)
    • MySQL->DDM
    • MySQL schema and logic table -> DDM
    • MongoDB->DDS
    • MongoDB->GeminiDB Mongo
  • From the cloud
    • MySQL->MySQL
    • DDS->MongoDB

Prerequisites

  • You have logged in to the DRS console.
  • The migration task is running properly.

Pausing a Task

  1. In the task list on the Online Migration Management page, locate the target task and click Pause in the Operation column.
  2. In the displayed Pause Task dialog box, select Pause log capturing and click Yes.

    • When a task in incremental state is paused, only the replay or capture and replay of incremental data is paused. Before database cutover, stop the task.
    • After you select Pause log capturing, the DRS instance will no longer communicate with the source and destination databases. If the pause duration is too long, the task may fail to be resumed because the logs required by the source database expire. You are not advised pausing a task for more than 24 hours. For details, check the corresponding log configuration.
    • After the task is paused, the status of the task becomes Paused.

Pausing Tasks

  1. On the Online Migration Management page, select the tasks to be paused.
  2. Click Batch Operations in the upper left corner and choose Pause.

    Figure 1 Batch Operations

  3. In the displayed dialog box, confirm the task information and click Yes.