Help Center/ GaussDB/ User Guide/ Data Backup/ Backup Execution/ Setting a Cross-Region GaussDB Backup Policy
Updated on 2025-09-19 GMT+08:00

Setting a Cross-Region GaussDB Backup Policy

Scenarios

To ensure remote disaster recovery, GaussDB can store backups in a region different from the region where your instance is located, allowing you to restore a new GaussDB instance there to recover your workloads. After you enable cross-region backup for an instance, the system automatically stores its backups to the specified target region based on the configured backup policy. On the Backups page, you can click View Backup in the Operation column and manage cross-region backup files.

This function is only available for authorized users. To apply for the permissions needed, submit a service ticket.

Precautions

  • After the cross-region backup policy is enabled, automated full backups of your GaussDB instance can be synchronized to the region you specify. Differential backups will be synchronized to the target region only after the corresponding full backups and all related differential backups have been successfully synchronized. The cross-region backup policy is not suitable for manual backups, archive logs, and table-level backups.
  • If the cross-region backup policy is disabled, the cross-region backup task will be stopped immediately, and all cross-region backup files will be immediately deleted. Operations related to cross-region backup may fail.
  • After your instance is deleted, all cross-region backup files of the instance are retained. The retention period depends on the Retention Period that you specify when you enable cross-region backup policy.
  • Cross-region backup cannot be enabled for multitenant container DB instances.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. On the Instances page, click the name of the target instance to go to the Basic Information page.
  5. In the navigation pane on the left, choose Backups. On the displayed page, click Set Cross-Region Backup Policy.
  6. Configure parameters.

    • Cross-Region Full Backup

      Enabling it means that automated full backup files of your instance are stored in OBS in the region you specify.

    • Cross-Region Differential Backup

      Enabling it means that automated differential backup files of your instance are stored in OBS in the region you specify.

      Before enabling this function, ensure that there is enough capability in OBS in the region you specify.

    • Region

      Region for which you back up data for.

    • Retention Period

      How long cross-region backups can be retained. Value range: 1 to 1825 days. Increasing the retention period improves data reliability but increases OBS space usage. Set this parameter based on service requirements.

    Figure 1 Setting the cross-region backup policy

  7. Click OK.
  8. Go back to the Instances page and choose Backups from the navigation pane on the left.
  9. On the Cross-Region Backups tab of the Backups page, manage cross-region backups.

    Figure 2 Managing cross-region backups
    • To modify the cross-region backup policy, click Set Cross-Region Backup in the Operation column.
    • To view generated cross-region full and differential backups, click View Cross-Region Backup in the Operation column. You can use the backups to restore data to a new instance.

      Figure 3 Cross-region backups

      • Click Restore in the Operation column to restore data to a new instance using the full backup.
      • Click Restore to Point in Time to restore data to a new instance at a specified time point using the generated full and differential backups.