Updated on 2024-04-11 GMT+08:00

Setting a Cross-Region Backup Policy

Scenarios

RDS can store backup files in the storage space that is in a different region 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 to a new DB instance.

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.

    • 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.
    • Only new backup files generated after you set a cross-region backup policy will be stored in OBS in the region you specify.
    • 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.
    • All cross-region backups of your DB instances are stored in the region you specify.
    • After you enable cross-region backup, the completed backup files in the region where your instance is located will be asynchronously replicated to the region you specify.

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

    • By default, all instances with cross-region backups are displayed.
      • 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 Cross-Region 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.

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 Cross-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.
  6. Click OK.