Updated on 2024-04-03 GMT+08:00

Creating a DRS Migration Task

This section describes how to create a DRS migration task to migrate the sbtest database from the ECS-hosted MySQL server to the GaussDB(for MySQL) instance.

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select AP-Singapore.
  3. Click in the upper left corner of the page and choose Databases > Data Replication Service.
  4. In the upper right corner, click Create Migration Task.
  5. Configure parameters as needed.

    1. Specify a task name.

    2. Configure replication instance details as needed.

      Set Destination DB Instance to the GaussDB(for MySQL) instance created in Creating a GaussDB(for MySQL) Instance.

    3. Set Enterprise Project to default.

  6. Click Create Now.

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

  7. Configure source and destination database information.

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

      If a successful connection message is returned, you have logged in to the source database.

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

      If a successful connection message is returned, you have logged in to the destination database.

  8. Click Next.
  9. Confirm the users, snapshots, and migration objects to be migrated.

    Set Migrate Object to All.

  10. Click Next.
  11. View pre-check results.
  12. If the check is complete and the check success rate is 100%, click Next.
  13. 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 has been created.