https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html说PreferredBackupWindow用的是if automated backups are enabled using the BackupRetentionPeriod parameter。
上面还说BackupRetentionPeriod Must be a value from 1 to 35。
实际上可以禁用自动备份吗?使用CloudFormation将BackupRetentionPeriod设置为0会返回以下错误:Invalid backup retention period: 0. Retention period must be between 1 and 35.
发布于 2021-03-31 07:15:49
不幸的是you can't disable automated backups on Aurora。即使您想通过查找最新的备份来解决此问题
aws rds describe-db-cluster-snapshots --db-cluster-identifier=dbname | jq -r .DBClusterSnapshots[].DBClusterSnapshotIdentifier | tail -n1然后尝试使用以下命令手动删除备份
aws rds delete-db-cluster-snapshot --db-cluster-snapshot-identifier rds:dbname-2021-03-30-04-56这会导致错误
An error occurred (InvalidDBClusterSnapshotStateFault)
when calling the DeleteDBClusterSnapshot operation:
Only manual snapshots may be deleted.https://stackoverflow.com/questions/66809069
复制相似问题