All Products
Search
Document Center

ApsaraDB RDS:Back up individual databases and tables

Last Updated:May 09, 2025

This topic describes how to back up individual databases or tables of an ApsaraDB RDS for MySQL instance.

Automatically back up individual databases and tables

  • Default backup of ApsaraDB RDS: To ensure data security, the default backup of ApsaraDB RDS backs up all databases and tables and does not support backing up only some of them. If you do not need to back up specific databases or tables, we recommend that you delete these databases and tables or migrate them to your computer.

  • Data Disaster Recovery: Logical backup of Data Disaster Recovery supports automatically backing up individual databases and tables.

Note

Manually back up individual databases and tables

Method 1: Use the default backup feature in the ApsaraDB RDS console

You can manually create a backup task to back up specific databases. Backing up specific tables is not supported.

Prerequisites

Note

You can go to the Basic Information page of the instance to view the preceding information.

Procedure

  1. Log on to the ApsaraDB RDS console and go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the instance ID.

  2. In the upper-right corner of the page, click Backup Instance.

  3. In the dialog box that appears, set Select Backup Mode to Logical Backup and Backup Policy to Single-Database Backup.

    image.png

  4. Select the databases that you want to back up, click 右移 to add them to the right side, and then click OK.

  5. (Optional) View the backup task progress.

    The system generates a logical backup task. You can click the 查看备份进度 button in the upper-right corner and go to the Tasks page. Then, filter the Task Type to Manual Backup to view the backup progress.

    image.png

  6. (Optional) Restore the backup data.

    To restore the logical backup, see Restore logical backup files of an ApsaraDB RDS for MySQL instance to a self-managed database or Restore databases and tables.

Method 2: Use Data Disaster Recovery for backup

  1. Create a backup plan (select Logical Backup as the backup method).

  2. Configure the backup plan. When you configure the backup time, select One-time Backup.

    For more information, see Back up an ApsaraDB RDS for MySQL instance or a self-managed MySQL database.

Related API operations

You can also call the API operations listed in the following table to manage the backup policies of your RDS instance or configure Data Disaster Recovery backup schedules.

Classification

API operation

Description

Use ApsaraDB RDS to perform backups

ModifyBackupPolicy

Modifies the backup settings of an ApsaraDB RDS instance.

DescribeBackupPolicy

Queries the backup settings of an instance.

DescribeBackups

Queries backup sets.

DescribeBackupTasks

Queries the backup tasks of an ApsaraDB RDS instance.

Use Data Disaster Recovery to perform backups

CreateBackupPlan

Creates a backup plan.

ConfigureBackupPlan

Configures a backup plan.