Backup failure alert in lifecycle manager

0

How we can set alert if any backup job get fails?

已提問 2 年前檢視次數 608 次
2 個答案
1
已接受的答案

Consider looking at CloudWatch Metrics to gain insight into the operations aspect. CloudWatch metrics for Data Lifecycle Manager reports success and error metrics. These metrics might be enough for you to create alarms to be triggered when resources are not created, copied or deleted, allowing you to take immediate action to diagnose and fix potential issues.

Additionally, Data Lifecycle Manager generates a “DLM Policy State Change” event if a policy enters the error state. Refer to Monitor your policies using CloudWatch Events. You could look at triggering a notification based rule based on this type of event.

RoB
已回答 2 年前
0

I think it would be best to use EventBridge and SNS.

Sample Event Pattern

{
  "source": ["aws.backup"]
}

Sample Test Event

{
  "version": "0",
  "id": "12345678-5f35-d9a2-76d1-613683e4e024",
  "detail-type": "Backup Vault State Change",
  "source": "aws.backup",
  "account": "123456789012",
  "time": "2020-06-24T23:18:19Z",
  "region": "us-east-1",
  "resources": ["arn:aws:backup:us-west-2:123456789012:backup-vault:SampleVault"],
  "detail": {
    "backupVaultName": "SampleVault",
    "state": "CREATED"
  }
}
profile picture
Sri
已回答 2 年前
  • I think you have shared for AWS backup service suggestion instead of Data Life Cycle Manager.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南