Updated on 2024-01-17 GMT+08:00

Creating a Migration Task

This topic describes how to create a DRS migration task to migrate the loadtest database from the self-managed MySQL server to an RDS for MySQL instance.

Pre-migration Check

Before creating a migration task, check migration conditions to ensure smooth migration.

This example describes how to migrate data from a self-managed MySQL database to an RDS for MySQL instance. For more information, see From MySQL to MySQL.

Procedure

Migrate the loadtest database from a self-managed MySQL server to an RDS for MySQL instance.

  1. Go to the Create Migration Task page.
  2. Configure parameters as needed.

    1. Specify a migration task name. Select CN-Hong Kong for Region.

    2. Configure replication instance information.

      Select the instance created in Creating an RDS Instance as the destination instance.

    3. Select default for Enterprise Project.

  3. Click Create Now.

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

  4. Configure task information.

    1. Configure source database information.
    2. Click Test Connection.

      If a successful test message is returned, login to the source is successful.

    3. Specify a username and password for the destination database.
    4. Click Test Connection.

      If a successful test message is returned, login to the destination is successful.

  5. Click Next.
  6. Confirm the migration user and migration objects.

    Select All for Migration Object.

  7. Click Next.
  8. View pre-check results.
  9. If the results of all check items are Passed, click Next.
  10. 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 Completed, the migration task is complete.