Data backup and log backup are enabled by default for PolarDB clusters and cannot be disabled. You can adjust the backup policy of a cluster based on your business needs while ensuring data reliability. For example:
Change the level-1 backup method from Standard Backup to High-frequency Backup. This shortens the backup cycle, increases backup density, and improves data restoration speed.
Enable Cross-region Backup for level-2 backups. This minimizes data loss caused by natural disasters or hardware failures. This method provides high availability for data restoration and meets requirements for data reliability, security, geo-redundant recovery, disaster recovery, long-term data archiving, and regulatory compliance.
NoteOnly PolarDB for MySQL Enterprise Edition supports cross-region backup.
Procedure
Log on to the PolarDB console. Select the region where the cluster is located. On the Clusters page, click the ID of the target cluster. In the navigation pane on the left, choose .
On the Backup Policy Settings page, click Modify to set the parameters. The configurable backup policy parameters vary based on the storage class, as described in the following sections:
NoteFor more information about the backup policy parameters, see Data backup policy, Log backup policy, and General backup policy.
PSL4/PSL5
Data backups are categorized as level-1 or level-2 backups depending on their storage location. You can set the Level-1 Backup, Level-2 Backup, Log Backup, and General parameters.

ESSD (PL0, PL1, PL2, PL3, and AutoPL)
Data backups can be saved only locally. They are also called level-1 backups. Set the Level-1 Backup, Log Backup, and General parameters.

Backup policy parameters
Data backup policy
Data backups are available in two storage classes:
PSL4/PSL5
Level-1 backup
Parameter | Description |
Backup Method | The frequency of automatic backups. You can select Standard Backup or High-frequency Backup.
|
Backup Cycle | Set the cycle for automatic data backups. Note This parameter is required only if you select Standard Backup (at specified intervals). |
Backup Start Time | Set the start time for automatic data backups. Note This parameter is required only if you select Standard Backup (at specified intervals). |
Backup Frequency | Set the frequency for automatic data backups. The following options are available:
Note This parameter is required only if you select High-frequency Backup. |
Backup Retention Period | Set the backup retention period. Note
|
Level-2 backup
Parameter | Description |
Backup Switch | Enable or disable level-2 backup. Note
|
Backup Method | You can select Same-region Backup or Cross-region Backup. Note
|
Backup Cycle | Set the backup cycle for level-2 backups. Note You can select only the dates that correspond to level-1 backups. |
Same-region Backup Retention | Set the retention period for same-region backups. Note
|
Cross-region Backup Region | Select the region where you want to store cross-region backups. |
Cross-region Backup Retention | Set the retention period for cross-region backups. Note
|
ESSD (PL0, PL1, PL2, PL3, and AutoPL)
Level-1 backup
Parameter | Description |
Backup Method | The frequency of automatic backups. You can select Standard Backup or High-frequency Backup.
|
Backup Cycle | Set the cycle for automatic data backups. Note This parameter is required only if you select Standard Backup (at specified intervals). |
Backup Start Time | Set the start time for automatic data backups. Note This parameter is required only if you select Standard Backup (at specified intervals). |
Backup Frequency | Set the frequency for automatic data backups. The following options are available:
Note This parameter is required only if you select High-frequency Backup. |
Backup Retention Period | Set the backup retention period. Note
|
High-frequency backup example
For example, if you set up a High-frequency Backup (Create A Backup Every 4 Hours) at 08:00 on March 1, the system automatically creates the first backup within 4 hours (from 08:00 to 12:00 on March 1) and continues to create a backup every 4 hours.
After you enable the High-frequency Backup feature, all backups completed within the last 24 hours are retained. For backups older than 24 hours, the system retains only the first backup completed after 00:00 each day. Other backups are deleted.
Assume the current time is 16:00 on March 4. The system retains the following backups:
Backups completed within the last 24 hours (from 16:00 on March 3 to 16:00 on March 4).
The backup completed between 00:00 and 04:00 on March 3.
The backup completed between 00:00 and 04:00 on March 2.
The backup completed between 08:00 and 12:00 on March 1.

Four hours later, at 20:00 on March 4, the system retains the following backups:
Backups completed within the last 24 hours (from 20:00 on March 3 to 20:00 on March 4).
The backup completed between 00:00 and 04:00 on March 3.
The backup completed between 00:00 and 04:00 on March 2.
The backup completed between 08:00 and 12:00 on March 1.

Log backup policy
Log backups are created by saving every database redo log file offline. Log backup policies vary based on the storage class.
PSL4/PSL5
Parameter | Description |
Backup Method | You can select Same-region Backup or Cross-region Backup. Note
|
Same-region Backup Retention | Set the retention period for same-region log backups. Note
|
Cross-region Backup Region | This is the same as the cross-region backup region for level-2 backups. You do not need to select a region. |
Cross-region Backup Retention | Set the retention period for cross-region log backups. Note
|
ESSD (PL0, PL1, PL2, PL3, and AutoPL)
Parameter | Description |
Log Backup Retention | Set the retention period for log backups. Note
|
General backup policy
The general backup policy defines the retention policy for backup files when a cluster is released.
Parameter | Description |
When Cluster Is Deleted | Set the backup retention policy for when a cluster is deleted.
Note
|
Related API operations
API | Description |
Queries the data backup retention policy of a PolarDB cluster. | |
Modifies the data backup retention policy of a PolarDB cluster. | |
Queries the log backup retention policy of a PolarDB cluster. | |
Modifies the log backup retention policy of a PolarDB cluster. |