Cross-region backup
This topic describes how to perform cross-region backup.
Usage notes
Do not perform operations such as scaling and configuration changes during backup to avoid backup failures
Do not execute DDL statements during backup to avoid backup failures caused by locking tables.
Backup sets for cross-region backup are copied from local backup sets. When you configure the backup cycle for cross-region backup, make sure that it is the same as or a subset of the local backup cycle.
A manually created backup set is dumped to the destination region only when its creation time matches a scheduled time in the backup cycle.
Procedure
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 and click Instance ID to go to the instance details page.
In the left-side navigation pane, choose .
Click Backup Policy.
On the Cross-region Backup tab, configure the parameters described in the following table.
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 Backups
The retention period of cross-region data backups.
NoteThe parameter value must be greater than 0.
Retention Period of Cross-region Log Backups
The retention period of cross-region log backups.
NoteThe parameter value must be greater than 0.
Click OK.
NoteThe cross-region data backup and log backup features must be enabled or disabled at the same time.
The retention period of cross-region data backups must be consistent with that of cross-region log backups.
After cross-region backup is enabled, data dump starts after the next backup in the same region is completed. Then, data dump is triggered for each backup in the same region. This rule is suitable for data backup and log backup.
Backups that are saved for more than the specified number of days are automatically deleted.