This function is used to import a logical backup file from your computer to an ApsaraDB for RDS database by using Alibaba Cloud Data Management Service (DMS).
The destination database and the account used to log on to the destination database are created on your ApsaraDB for RDS instance. For information about how to create a database and an account, see the following topics:
The logical backup file must be in the CSV, SQL, or ZIP format.
The size of the logical backup file cannot exceed 100 MB.
The logical backup file cannot contain information about the source database.
Log on to the ApsaraDB for RDS console.
In the top navigation bar, select the region where the target RDS instance resides.
Find the target RDS instance and click its ID. The Basic Information page appears.
In the upper-right corner, click Log On to DB. For more information, see Use DMS to log on to an RDS instance.
Log on to the target RDS instance. In the top navigation bar, choose Data Operation > Import.
On the Import page, click New Task.
Enter the information of the import task.
Parameter description File Type: Select the type of the logical backup file you want to import. You can select SQL or CSV. File Encoding: Select the encoding of the logical backup file you want to import. You can select Automatically identify the character set, utf8, or gbk. Database: Select the destination database. Attachment: Select the logical backup file you want to import. You can click Browse to add the logical backup file. Descriptions: Enter the description that helps manage the logical backup file.
When the task progress reaches 100%, the logical backup file is imported.
Click Refresh. The logical backup file you imported is displayed in the destination database.