All Products
Search
Document Center

PolarDB:Cross-region backup

Last Updated:Apr 12, 2024

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

  1. Log on to the PolarDB for Xscale console.

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

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

  4. Find the target instance and click its ID.

  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.