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

Creating a Manual Backup

Scenarios

RDS allows you to create manual backups for a running DB instance. You can use these backups to restore data.

When you delete a DB instance, its automated backups are also deleted but its manual backups are retained.

Constraints

  • The number of tables in a DB instance affects the backup speed. The maximum number of tables is 500,000.
  • The system verifies the connection to the DB instance when starting a full backup task. If either of the following conditions is met, the verification fails and a retry is automatically performed. If the retry fails, the backup will fail.
    • DDL operations are being performed on the DB instance.
    • The backup lock failed to be obtained from the DB instance.

Billing

Backups are saved as packages in OBS buckets.

Method 1

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  3. On the Instances page, locate the target DB instance and choose More > Create Backup in the Operation column.
  4. In the displayed dialog box, enter a backup name and description.

    • The backup name must consist of 4 to 64 characters and start with a letter. It can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).
    • The description consists of a maximum of 256 characters and cannot contain carriage return characters or the following special characters: >!<"&'=
    • The time required for creating a manual backup depends on the amount of data.

    To check whether the backup has been created, you can click in the upper right corner of the page to check the DB instance status. If the DB instance status becomes Available from Backing up, the backup has been created. You can manage the backup following the instructions provided in 6.

    Figure 1 Creating a backup

  5. Click OK.
  6. After a manual backup has been created, you can view and manage it on the Backups page.

    Alternatively, click the target DB instance. On the Backups & Restorations page, you can view and manage the manual backup.

Method 2

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  3. On the Instances page, click the target DB instance.
  4. On the Backups & Restorations page, click Create Backup. In the displayed dialog box, enter a backup name and description.

    • The backup name must consist of 4 to 64 characters and start with a letter. It can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).
    • The description consists of a maximum of 256 characters and cannot contain carriage return characters or the following special characters: >!<"&'=
    • The time required for creating a manual backup depends on the amount of data.

  5. Click OK.
  6. After a manual backup has been created, you can view and manage it on the Backups page.

    Alternatively, click the target DB instance. On the Backups & Restorations page, you can view and manage the manual backup.