Cross-region backup replicates your PolarDB for Xscale backup sets to a different region, providing data protection against regional outages. When enabled, both data backups and log backups are automatically copied to the destination region after each local backup completes.
Before you begin
To prevent backup failures, do not perform the following operations while a backup is in progress:
-
Scaling or configuration changes: These operations conflict with the backup process and cause the backup to fail.
-
DDL statements: DDL operations can lock tables and cause the backup to fail.
Configure cross-region backup
-
Log on to the PolarDB-X console.
-
In the top navigation bar, select the region where the instance is deployed.
-
On the Instances page, click the PolarDB-X 2.0 tab.
-
Find the instance that you want to manage and click its ID.
-
In the left-side navigation pane, choose .
-
Click Backup Policy.
-
On the Cross-region Backup tab, configure the following parameters.
Parameter
Description
Cross-region Data Backup
Specifies whether to enable automatic cross-region data backup.
Cross-region Log Backup
Specifies whether to enable automatic cross-region log backup.
Destination Region of Cross-region Backup
The region in which the cross-region backup set is stored.
Retention Period of Cross-region Data Backup
The number of days to retain cross-region data backups. The value must be greater than 0.
Retention Period of Cross-region Log Backup
The number of days to retain cross-region log backups. The value must be greater than 0.
Note-
Cross-region data backup and cross-region log backup must be enabled or disabled at the same time. You cannot enable one without the other.
-
The retention period of cross-region data backups must match the retention period of cross-region log backups.
-
-
Click OK.
Post-enablement behavior
-
After cross-region backup is enabled, backup replication starts after the next local backup in the same region completes. From that point on, each subsequent local backup triggers a cross-region backup replication. This applies to both data backups and log backups.
-
Backups that exceed the specified retention period are automatically deleted.