Cross-region backup

Updated at:

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

  1. Log on to the PolarDB-X console.

  2. In the top navigation bar, select the region where the instance is deployed.

  3. On the Instances page, click the PolarDB-X 2.0 tab.

  4. Find the instance and click Instance ID to go to the instance details page.

  5. In the left-side navigation pane, choose Data Recovery > Backup and Restoration.

  6. Click Backup Policy.

  7. 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.

    Note

    The parameter value must be greater than 0.

    Retention Period of Cross-region Log Backups

    The retention period of cross-region log backups.

    Note

    The parameter value must be greater than 0.

  8. Click OK.

    Note
    • The 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.