All Products
Search
Document Center

PolarDB:Backup method 1: Automatic backup

Last Updated:Jan 16, 2024

By default, automatic backup is enabled and PolarDB performs automatic backup once a day after a new cluster is created. You can configure parameters such as the frequency of automatic backup and the retention period of backup files in the console based on your business requirements.

Procedure

  1. Log on to the PolarDB console.
  2. In the upper-left corner of the console, select the region in which the cluster that you want to manage is deployed.
  3. Find the cluster and click the cluster ID.
  4. In the left-side navigation pane, choose Settings and Management > Backup and Restore.

  5. Click Backup Policy Settings.

  6. On the Backup Policy Settings tab, click Edit. In the dialog box that appears, configure the following parameters.

    Parameter

    Description

    Backup Frequency

    You can select Standard Backup or High-frequency Backup.

    • Standard Backup: You can set the cycle and start time for automatic data backup.

      Note

      To prevent data loss, automatic backup must be performed at least twice a week.

    • High-frequency Backup: Set the backup frequency. You can select Last 24 Hours, Every 2 Hours, Last 24 Hours, Every 3 Hours, or Last 24 Hours, Every 4 Hours.

    Data Backup Retention Period

    Specify the retention period for level-1 backups and level-2 backups.

    • Level-1 Backup: Set the retention period for level-1 backups.

      Note
      • By default, level-1 backup is enabled. The default retention period of level-1 backups is 7 days.

      • Level-1 backups are retained for 3 to 14 days.

    • Level-2 Backup: Enable or disable the level-2 backup feature.

      Note
      • By default, the level-2 backup feature is disabled. If you enable the feature, storage fees are incurred. You can delete backup files to reduce costs. For more information about the pricing of level-2 backup, see Billing rules of backup storage that exceeds the free quota.

      • Level-2 backups can be retained for 30 to 7,300 days.

      • If you want to retain level-2 backups for long period of time, select Long-term Retain Backups before Cluster Deletion. After you select this option, you cannot specify the retention period of level-2 backups.

  7. Click OK.

Related API operations

API

Description

CreateBackup

Creates a full backup of a specified PolarDB cluster.

DescribeBackups

Queries the backup information about a specified PolarDB cluster.

DeleteBackup

Deletes the backups of a specified PolarDB cluster.