Updated on 2022-11-14 GMT+08:00

Creating a DRS Migration Task

Create a DRS migration task to migrate data from an existing RDS for MySQL instance to a DDM instance in a different region.

Procedure

  1. Click the service list icon on the left and choose Databases > Data Replication Service.
  2. Click Create Migration Task to migrate data from the existing RDS for MySQL instance to the DDM instance.

    Figure 1 Creating a migration task

  3. Configure migration parameters.

    Figure 2 Entering migration information
    • Data Flow: Select To the cloud.
    • Source DB Engine: Select MySQL.
    • Destination DB Engine: Select DDM.
    • Network Type: Set this parameter based on service requirements.
    • Destination DB Instance: Select the DDM instance created in Creating a DDM Instance.
    • Migration Type: Select Full+Incremental or Full.

  4. In the task list, locate the created migration task and click Edit in the Operation column. At the Source Database area, enter the IP address, port, username, and password of the existing RDS for MySQL instance, and click Test Connection. At the Destination Database area, enter the username and password of the created DDM account, and click Test Connection. After both of the connection tests are successful, click Next.

    Figure 3 Editing a migration task

  5. Select the objects you want to migrate and click Next.

    Figure 4 Selecting the objects to be migrated

  6. On the Check Task page, check the migration task. If any check item fails, view the cause and rectify the fault. After the fault is rectified, click Check Again. After all check items are passed, click Next.

    Figure 5 Performing a pre-check

  7. Configure the start of the migration task

    Figure 6 Start configurations