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.
Procedure
Log on to the PolarDB for Xscale console.
In the top navigation bar, select the region where the target instance is located.
On the Instances page, click the PolarDB-X 2.0 tab.
Find the target instance and click its ID.
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.