AWS Backup events

0

Prelude: We use AWS Backup, in addition to AWS Backup on RDS, there are also mandatory standard automatic backups.

Situation:

  1. at 8 am a standard automatic backup is made
  2. AWS Backup starts at 12 o'clock and instead of taking another snapshot, it copies the snapshot that was made by a standard backup to another region

Question: how to make AWS backup make a snapshot regardless of other conditions and the presence of other snapshots?

Also in cloudwatch I see only action about copy: { "version": "0", "id": "d4f5efcb-f58b-bd58-c4b0-a6374b6c5cf7", "detail-type": "RDS DB Snapshot Event", "source": "aws.rds", "account": "", "time": "2022-02-22T11:08:07Z", "region": "us-east-1", "resources": [ "arn:aws:rds:us-east-1::snapshot:awsbackup:job-" ], "detail": { "EventCategories": [ "notification" ], "SourceType": "SNAPSHOT", "SourceArn": "arn:aws:rds:us-east-1::snapshot:awsbackup:job-", "Date": "2022-02-22T11:08:07.289Z", "Message": "Started copy of snapshot rds:{rds-name} in region us-east-1", "SourceIdentifier": "awsbackup:job-c", "EventID": "RDS-EVENT-0196" } }

Alex
asked 2 years ago917 views
1 Answer
1

Thank you for reaching out to AWS Repost. When you have a backup plan with a backup rule to backup and copy a RDS resource to another region, then AWS backup will create a backup job and create a copy job to another region once the backup job completed in source region. Even if there is a backup job created by RDS for the resource few minutes prior to the AWS Backup job start time, AWS Backup will still initiate a backup referencing to the previously taken RDS snapshot. To validate this you can navigate to AWS Backup management console - Jobs to see the list of backup jobs and copy jobs created as part of the backup plan.

You can also see the same in cloud trail logs by searching with the below event name

Event name for Backup Job: StartBackupJob BackupJobStarted BackupJobCompleted

Event name for Copy Job: StartCopyJob CopyJobStarted CopyJobCompleted

You can also Monitor AWS Backup events using EventBridge. For further steps and details refer to below article, https://docs.aws.amazon.com/aws-backup/latest/devguide/eventbridge.html

Looking at your cloud trail log I see that the backup for the RDS has been completed by AWS backup (refer to "SourceArn": "arn:aws:rds:us-east-1::snapshot:awsbackup:job-" in the cloudtrail log) which was then copied to the other region. If you would like to deep dive further, then I request you to raise case with AWS Support from the account where you are seeing this issue.

AWS
SUPPORT ENGINEER
Sathya
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions