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.