Troubleshooting a Backup plan with multiple backup rules -- are not working?

0

I have a requirement to run backup jobs using different rules. Currently, I am testing two rules to understand how they work and if all backup jobs are being captured. My goal is to create a backup plan for RDS (Amazon Relational Database Service).

Here are the two rules I am testing:

Rule 1:

Backup job runs every 2 hours with a 7-day retention period.
It starts within 1 hour of being triggered.
It completes within 3 hours.

Rule 2:

Backup job runs every 2 hours with a 35-day retention period.
It starts within 3 hours and 5 minutes of being triggered.
It completes within 5 hours.

I have added these two backup rules to the backup plan. However, when I checked the next day, I noticed that only the backup jobs with Rule 2 were running. To further investigate the issue, I decided to test another rule.

Rule 3:

Backup job should run every Saturday at 10:00 PM with a 168-day retention period.
It starts within 1 hour and 5 minutes of being triggered.
It completes within 7 hours.

After a week had passed, I checked on Saturday, but I still only saw backup jobs running with Rule 2. I don't see any backups with Rule1 and Rule3.

I have verified that the Terraform code and IAM rules are set up correctly. However, I'm unable to understand what exactly is happening here. I'm wondering if there is a logic issue that I might be missing. I would appreciate any insights or thoughts you may have on this matter.

rk
질문됨 10달 전604회 조회
1개 답변
2

This issue seems to be related to overlapping rule:

If you have a backup plan with multiple rules if the time frame of the two rules overlap, AWS Backup optimizes the backup and takes a backup for the rule with the longer retention time. The optimization takes into account the full start window, not just when the daily backup is taken.

I suggest you ensure that the Rule 1 and Rule 3 backup time does not clash with the hourly backup time.

Reference: Creating a backup plan - Backup rules - https://docs.aws.amazon.com/aws-backup/latest/devguide/creating-a-backup-plan.html#backup-rules

profile pictureAWS
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인