Облачная платформаAdvanced

Creating a Manual Backup

Эта статья полезна?
Язык статьи: Английский
Перевести

Scenarios

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

Constraints

  • When you delete a DB instance, its automated backups are also deleted but its manual backups are retained.
  • 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.
  • Performing backups consumes memory resources. If there are a large number of tables in your instance but the available memory is insufficient, a backup task may fail. In this case, you need to reduce the number of tables or upgrade the instance specifications.
  • Metadata locks will be generated while a backup is being created, which may cause DDL blocking or replication delay.

Method 1

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

    • 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.

  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 backups.

Method 2

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

    • 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.

  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 backups.