If the retention period of the level-2 backups of the PolarDB cluster is longer than or equal to the specified number of days, the evaluation result is Compliant.

Scenarios

Level-2 backups can be used to restore data and implement disaster recovery. We recommend that you set an appropriate retention period and control the size of backup files to reduce cost.

Risk level

Default risk level: medium.

When you apply this rule, you can change the risk level based on your business requirements.

Compliance evaluation logic

  • If the retention period of the level-2 backups of the PolarDB cluster is longer than or equal to the specified number of days, the evaluation result is Compliant.
  • If the level-2 backup feature is disabled for the PolarDB cluster, the evaluation result is Incompliant. If the level-2 backup feature is enabled for the PolarDB cluster but the retention period of the level-2 backups is shorter than the specified number of days, the evaluation result is Incompliant. For more information about how to remediate an incompliant configuration, see the "Incompliance remediation" section of this topic.

Rule details

ParameterDescription
Rule namepolardb-cluster-level-two-backup-retention
Rule identifierpolardb-cluster-level-two-backup-retention
TagPolarDB
Automatic remediationNot supported
Trigger typePeriodic execution
Evaluation frequencyInterval of 24 hours
Supported resource typePolarDB cluster
Input parameterdays: The default value is 30.

Incompliance remediation

Enable the level-2 backup feature for the PolarDB cluster and make sure that the retention period is longer than or equal to the specified number of days. For more information, see Configure backup settings.