Checks whether the level-1 backup retention period of a PolarDB cluster meets or exceeds the specified number of days.
Scenarios
Retaining level-1 backups for an appropriate number of days supports data restoration and disaster recovery while helping control backup storage costs.
Risk level
Default risk level: Medium.
You can change the risk level of this rule as needed.
Detection logic
-
A PolarDB cluster is considered compliant if its level-1 backup retention period is greater than or equal to the specified number of days.
-
A PolarDB cluster is considered non-compliant if level-1 backup is disabled, or if level-1 backup is enabled but the retention period is less than the specified number of days.
Rule details
|
Parameter |
Description |
|
Rule name |
The level-1 backup retention period for a PolarDB cluster meets the specified requirement |
|
Rule identifier |
polardb-cluster-level-one-backup-retention |
|
Tag |
PolarDB |
|
Automatic remediation |
Not supported |
|
Rule trigger |
Periodic |
|
Trigger frequency |
24 hours |
|
Supported resource types |
PolarDB cluster |
|
Input parameters |
|
Remediation
Enable level-1 backup for the PolarDB cluster and set the retention period to be greater than or equal to the specified number of days. For more information, see Set a backup policy.