This topic describes how to perform batch operations on data synchronization tasks by using OceanBase Migration Service (OMS).
Background
OMS allows you to perform operations on multiple data synchronization tasks at a time on the Synchronization Tasks page. Supported batch operations on data synchronization tasks vary based on the task states.
| Task status | Supported batch operation |
|---|---|
| Not Started | Batch start, batch delete, and batch modify alert configuration |
| Running | Batch pause and batch modify alert configuration |
| Paused | Batch restore, batch release, and batch modify alert configuration |
| Failed | Batch restore, batch release, and batch modify alert configuration |
| Released | Batch delete |
| Releasing | N/A |
| Completed | Batch release |
If you select multiple tasks for a batch operation, but not all tasks support this batch operation, a dialog box appears and displays the tasks that support this batch operation.

Go to the Synchronization Tasks page
Log in to the OMS console.
In the left-side navigation pane, choose Data Synchronization. The Synchronization Tasks page automatically appears.
You can select data synchronization tasks for a batch operation.
Batch pause
OMS allows you to batch pause data synchronization tasks in the Running state.
On the Synchronization Tasks page, select the data synchronization tasks to be paused.
Click Batch Pause in the lower part of the page.
In the dialog box that appears, click OK.
This dialog box will display the number of tasks that support batch pausing, the task names, and the latest timestamps.
After the operation succeeds, the number of tasks that are successfully paused is displayed.
For any task that failed the batch operation, troubleshoot the issue as prompted.
Batch restore
OMS allows you to batch restore data synchronization tasks in the Paused or Failed state.
On the Synchronization Tasks page, select the data synchronization tasks to be restored.
Click Batch Restore in the lower part of the page.
In the dialog box that appears, click OK.
This dialog box will display the number of tasks that support batch restoration, the task names, and the latest timestamps.
After the operation succeeds, the number of tasks that are successfully restored is displayed.
For any task that failed the batch operation, troubleshoot the issue as prompted.
Batch release
OMS allows you to batch release data synchronization tasks in the Paused, Failed, or Completed state.
On the Synchronization Tasks page, select the data synchronization tasks to be released.
Click Batch Release in the lower part of the page.
In the dialog box that appears, click OK.
This dialog box will display the number of tasks that support batch release, the task names, and the latest timestamps.
After the operation succeeds, the number of tasks that are successfully released is displayed.
For any task that failed the batch operation, troubleshoot the issue as prompted.
Batch start
OMS allows you to batch start data synchronization tasks in the Not Started state.
On the Synchronization Tasks page, select the data synchronization tasks for batch start.
Click Batch Start in the lower part of the page.
In the dialog box that appears, click OK.
This dialog box will display the number of tasks that support batch start, the task names, and the latest timestamps.
After the operation succeeds, the number of tasks that are successfully started is displayed.
For any task that failed the batch operation, troubleshoot the issue as prompted.
Batch delete
OMS allows you to batch delete data synchronization tasks in the Not Started or Released state.
On the Synchronization Tasks page, select the data synchronization tasks for batch deletion.
Choose More Batch Operations > Batch Delete in the lower part of the page.
In the dialog box that appears, click OK.
This dialog box will display the number of tasks that support batch deletion, the task names, and the latest timestamps.
After the operation succeeds, the number of tasks that are successfully deleted is displayed.
For any task that failed the batch operation, troubleshoot the issue as prompted.
Batch modify alert configuration
OMS allows you to batch modify alert configuration of data synchronization tasks in the Not Started, Running, Paused, or Failed state.
On the Synchronization Tasks page, select the data synchronization tasks whose alert settings are to be modified.
Choose More Batch Operations > Batch Modify Alert Configuration in the lower part of the page.
In the Batch Configure Alerts dialog box, specify the related parameters.

OMS supports the following alert levels: No Protection, High Protection, Medium Protection, and Low Protection. For more information, see Alert settings.
Click Submit.
To view the alerts generated for a data migration or synchronization task, see View task alerts.
After the alert settings are modified for the selected tasks, a prompt is displayed on the page. For any task that failed the batch operation, troubleshoot the issue as prompted.