Setting a Cross-Region Backup Policy

Scenarios

RDS can store backup files in OBS buckets that are in different regions from the DB instance for disaster recovery. If a DB instance in a region is faulty, you can use the backup files in another region to restore data.

After you enable cross-region backup, the backup files are automatically stored in the region you specify. On the Backup Management page of the RDS console, you can click View Backup in the Operation column and manage cross-region backup files.

Enabling or Modifying a Cross-Region Backup Policy

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instance Management page, click the target DB instance.
  5. In the navigation pane on the left, choose Backups & Restorations. On the displayed page, click Set Cross-Region Backup Policy.

    Figure 1 Setting a cross-region backup policy
    • If you enable Cross-Region Full Backup, automated full backup files of the DB instance are stored in OBS in the region you specify.
    • If you enable Cross-Region Log Backup, binlog (incremental) backup files of the DB instance are stored in OBS in the region you specify.
    • Cross-region backup files can be retained from 1 to 1,825 days.
    • After the cross-region log backup function is enabled, you can restore a DB instance to a specified time point only after the next automated full backup replication is complete. The specified time point must be later than the time when the automated full backup is complete.

  6. Click OK.
  7. On the Cross-Region Backups page, manage cross-region backup files.

    Figure 2 Cross-region backups
    • To modify the cross-region backup policy, click Set Cross-Region Backup in the Operation column.
    • To view generated cross-region backup files, click View Backup in the Operation column. If a DB instance fails, you can use the cross-region backup files to restore data to a new DB instance.
      Figure 3 Full backups
      Figure 4 Binlog backups

Disabling a Cross-Region Backup Policy

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Backup Management page, click the Across-Region Backups tab.
  5. Locate a target DB instance and click Set Cross-Region Backup in the Operation column. On the displayed page, disable the cross-region backup policy.

    Figure 5 Disabling a cross-region backup policy

  6. Click OK.