When an exception occurs during data migration and the data migration task cannot be resumed, you need to reset the task and re-migrate the data:
-
Execute the
stop-task
command to stop the abnormal data migration task. -
Purge the data migrated to the downstream.
-
Use one of the following ways to restart the data migration task.
- Specify a new task name in the task configuration file. Then execute
start-task {task-config-file}
. - Execute
start-task --remove-meta {task-config-file}
.
- Specify a new task name in the task configuration file. Then execute