Updated on 2024-06-12 GMT+08:00

Migrating Databases

Create a DRS instance and migrate table data from the source RDS MySQL database to the db_test_info schema of the DDM instance.

Pre-Check

Before creating a migration task, you need to manually check the migration conditions for smooth migration.

Creating a Migration Task

  1. Log in to the Huawei Cloud console.
  2. Click in the upper left corner and select a region and a project.

    Select the region in which the destination instance is located.

  3. Click the service list icon on the left and choose Databases > Data Replication Service.
  4. In the navigation pane on the left, choose Online Migration Management and click Create Migration Task.

  5. Configure the replication instance information.

    1. Select a region and project, and enter a task name.

    2. Configure the migration task type and select the destination instance and subnet.

    3. Click Create Now.

  6. Configure the source and destination instance information.

    1. Enter the IP address, port number, username, and password of the source instance.

      Click Test Connection.

    2. Enter the username and password of the destination database.

      Click Test Connection.

    3. Click Next. In the displayed box, read the message carefully and click Agree.

  7. Configure the synchronization task.

    Select the databases and tables of the source database to be migrated. In this practice, select the db_test_info_001 table in database db_test_info.

  8. Perform a pre-check.

    1. After all settings are complete, perform a pre-check to ensure that the migration is successful.

    2. If any check fails, review the cause and rectify the fault. Then, click Check Again.

    3. If all check items are successful, click Next.

  9. Confirm the task.

    1. Check whether all configured information is correct.

    2. Specify Start Time and select the check box before the agreement.
    3. Click Submit.

  10. After the task is submitted, view and manage it.

    After the task is created, return to the task list to view the status of the created task.