Creating a DRS Migration Task
Create a DRS migration task to migrate data from RDS for MySQL databases in different regions to DDM.
Pre-Migration Check
Before creating a migration task, check the migration environment.
This section describes how to migrate data from a MySQL database to DDM. For details, see Before You Start.
Creating a Migration Task
- Log in to the management console.
- Click in the upper left corner of the management console and select CN-Hong Kong.
- Under the service list, choose Databases > Data Replication Service.
- In the upper right corner, click Create Migration Task.
- Configure the required parameters.
- Specify a migration task name.
- Configure replication instance details as needed.
Select the DDM instance created in Creating a DDM Instance as the destination database.
- Click Create Now.
It takes about 5 to 10 minutes to create a replication instance.
- Configure source and destination database information.
- Configure the source database information and click Test Connection. If a successful test message is returned, the database is connected.
- Configure destination database information and click Test Connection. If a successful test message is returned, the database is connected.
- Configure the source database information and click Test Connection. If a successful test message is returned, the database is connected.
- Click Next.
- On the Set Task page, configure migration objects.
- Migrate Object: Select Tables.
- Click Next. On the Check Task page, check the migration task.
- If any check fails, review the cause and rectify the fault. After the fault is rectified, click Check Again.
- If all check items are successful, click Next.
- Click Submit.
Return to the Online Migration Management page and check the migration task status.
It takes several minutes to complete.
If the status changes to Full migration, the migration task has been started.
- For migration from MySQL to DDM, full migration and full+incremental migration modes are supported.
- If you create a full migration task, the task automatically stops after the full data is migrated to the destination.
- If you create a full+incremental migration task, a full migration is executed first. After the full migration is complete, an incremental migration starts.
- During the incremental migration, data is continuously migrated so the task will not automatically stop.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot