Updated on 2022-08-01 GMT+08:00

Creating a DRS Migration Task

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

Pre-Migration Check

Before you create a migration task, check whether migration conditions are met.

This section describes how to migrate data from RDS for MySQL to DDM. For details, see Before You Start.

Creating a Migration Task

  1. Log in to the management console.
  2. Click in the upper left corner and select region CN-Hong Kong.
  3. Click the service list icon on the left and choose Databases > Data Replication Service.
  4. Click Create Migration Task.
  5. Configure the required parameters.

    1. Specify a migration task name.

    2. Configure replication instance information and specify a destination DB instance.

      Select the DDM instance created in Creating a DDM Instance as the destination.

  6. Click Next.

    It takes about 5 to 10 minutes to create a replication instance.

  7. Configure task information.

    1. Configure the source database information and click Test Connection. If a successful test message is returned, the database is connected.

    2. Configure the destination database information and click Test Connection. If a successful test message is returned, the database is connected.

  8. Click Next.
  9. On the Set Task page, select a migration type.

    • Migrate Object: Select Tables.

  10. Click Next. 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.
    • If all check items are successful, click Next.

  11. 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 are both supported.
    • If you create a full migration task, the task automatically stops after 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.