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

Configuring an Intra-Region Backup Policy

Notes

  • The backups generated using the intra-region backup policy are full backups. Binlog backups are incremental backups automatically generated by RDS every 5 minutes.
  • RDS backs up data at the DB instance level, rather than the database level.
  • Backups are saved as packages in OBS buckets to ensure data confidentiality and durability.
  • When you create an RDS DB instance, intra-region backup is enabled by default. For security purposes, this function cannot be disabled after the instance is created.

Precautions

  • Since backing up data affects database read and write performance, the backup time window should be set to off-peak hours.
  • Intra-region backups cannot be manually deleted. To delete them, you can adjust the retention period specified in your intra-region backup policy. Retained backup files will be automatically deleted at the end of the retention period.

Constraints

  • Rebooting the instance is not allowed during full backup. Exercise caution when selecting a backup time window.
  • 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.

Viewing or Modifying an Intra-Region Backup Policy

  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 DB instance name.
  4. In the navigation pane on the left, choose Backups & Restorations. On the displayed page, click Intra-Region Backup Policies.

    Figure 1 Modifying a backup policy

  5. View the configured backup policy. To modify the backup policy, adjust the values of the following parameters:

    Table 1 Parameter description

    Parameter

    Description

    Retention Period

    How many days your automated full backups and binlog backups can be retained. The retention period is from 1 to 732 days and the default value is 7.

    • Extending the retention period improves data reliability.
    • Reducing the retention period takes effect for all backups. Any backups that have expired will be automatically deleted.

    Time Window

    A one-hour period the backup will be scheduled within 24 hours, such as 01:00-02:00 or 12:00-13:00.

    The backup time window indicates when the backup starts. The backup duration depends on the data volume of your instance.

    Backup Cycle

    By default, each day of the week is selected. You can change the backup cycle and must select at least one day of the week.

  6. Click OK.