View a markdown version of this page

Notification options with AWS Backup - AWS Backup

Notification options with AWS Backup

There are two ways to receive notifications about AWS Backup:

  • User Notifications can send notifications, including Amazon CloudWatch alarms, AWS Support, and other services' notifications.

  • Amazon Simple Notification Service can notify you of AWS Backup events.

For local vaults, AWS Backup can also deliver reports of the files that backup and restore jobs couldn't process to an Amazon S3 bucket. For more information, see File-level error reports in Amazon S3.

User Notifications and AWS Backup

AWS Backup supports management of your backup notifications from the User Notifications console. With User Notifications, you can view the progress of your backup, copy, and restore jobs and changes to your backup policies, vaults, recovery points, and settings from the User Notifications Notification Center.

Amazon CloudWatch, Amazon EventBridge alarms, and AWS Support case updates are among other types of notifications you can manage from the console. Additionally, you can set up several delivery options, including email, Amazon Q Developer in chat applications notifications, and AWS Console Mobile Application push notifications.

Amazon SNS and AWS Backup events

AWS Backup takes advantage of the robust notifications delivered by Amazon Simple Notification Service (Amazon SNS). You can configure Amazon SNS to notify you of AWS Backup events from the Amazon SNS console.

Limitations
  • While the Amazon SNS service allows cross-account notifications, AWS Backup does not currently support this feature. You must specify your own AWS account ID and the resource ARN of your topic.

  • AWS Backup supports Standard topics for SNS best-effort deduplication, but AWS Backup does not currently support SNS FIFO topics for Strict deduplication.

Common use cases

For more information about Amazon SNS generally, see Getting Started with Amazon SNS in the Amazon Simple Notification Service Developer Guide.

AWS Backup notification APIs

After creating your topics using the Amazon SNS console or AWS Command Line Interface (AWS CLI), you can use the following AWS Backup API operations to manage your backup notifications.

AWS Backup supports the following events:

Job type Event
Backup job BACKUP_JOB_STARTED | BACKUP_JOB_COMPLETED | BACKUP_JOB_SUCCESSFUL | BACKUP_JOB_FAILED | BACKUP_JOB_EXPIRED | CONTINUOUS_BACKUP_INTERRUPTED
Copy job COPY_JOB_STARTED | COPY_JOB_SUCCESSFUL | COPY_JOB_FAILED
Restore job RESTORE_JOB_STARTED | RESTORE_JOB_COMPLETED | RESTORE_JOB_SUCCESSFUL | RESTORE_JOB_FAILED
Recovery point RECOVERY_POINT_MODIFIED
Recovery point indexing RECOVERY_POINT_INDEX_COMPLETED | RECOVERY_POINT_INDEX_DELETED | RECOVERY_POINT_INDEXING_FAILED
Access point ACCESS_POINT_AVAILABLE | ACCESS_POINT_CREATION_FAILED | ACCESS_POINT_DELETED | ACCESS_POINT_DELETION_FAILED | ACCESS_POINT_EXPIRED | ACCESS_POINT_DISASSOCIATED

AWS Backup for S3 supports two additional events:

  • S3_BACKUP_OBJECT_FAILED notifies you of any S3 object that AWS Backup failed to back up during a backup job.

  • S3_RESTORE_OBJECT_FAILED notifies you of any S3 object that AWS Backup failed to restore during a restore job.

AWS Backup for EKS supports five additional events:

  • EKS_BACKUP_OBJECT_FAILED notifies you of any EKS objects that AWS Backup failed to back up during a backup job.

  • EKS_RESTORE_OBJECT_FAILED notifies you of any EKS objects that AWS Backup failed to restore during a restore job.

  • EKS_RESTORE_OBJECT_SKIPPED notifies you of any EKS objects that AWS Backup skipped during a restore job.

  • EKS_RESTORE_MODIFICATION_SUCCESS notifies you of any EKS objects that AWS Backup modified during a restore job using your resource modifiers.

  • EKS_RESTORE_MODIFICATION_FAILED notifies you of any EKS objects where one of your resource modifiers could not be applied during a restore job.

AWS Backup for on-premises and self-managed databases supports five additional events for transaction log backups:

  • LOG_BACKUP_PENDING notifies you that log backup is configured for a database but the backup appliance has not yet reported a log backup run.

  • LOG_BACKUP_CAPTURING notifies you that logs are being captured; the most recent log backup run completed and uploaded logs.

  • LOG_BACKUP_NOT_CAPTURING notifies you that the most recent log backup run failed, so logs are not being captured. The status message gives the reason.

  • LOG_BACKUP_UNKNOWN notifies you that AWS Backup has not heard from the backup appliance in time and can't determine whether logs are being captured.

  • LOG_BACKUP_RANGE_BREAK notifies you that a log backup run reported a gap in the log chain, which prevents point-in-time recovery to times within that gap.

Examples of events

Example: Backup job completed
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-west-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup job was completed successfully. Recovery point ARN: arn:aws:ec2:us-west-1:123456789012:volume/vol-012f345df6789012d. Resource ARN : arn:aws:ec2:us-west-1:123456789012:volume/vol-012f345df6789012e. BackupJob ID : 1b2345b2-f22c-4dab-5eb6-bbc7890ed123", "Timestamp": "2019-08-02T18:46:02.788Z", ... "MessageAttributes": { "EventType": {"Type":"String","Value":"BACKUP_JOB"}, "State": {"Type":"String","Value":"COMPLETED"}, "AccountId": {"Type":"String","Value":"123456789012"}, "Id": {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"}, "StartTime": {"Type":"String","Value":"2019-09-02T13:48:52.226Z"} } } }] }
Example: Backup job failed
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-west-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup job failed. Resource ARN : arn:aws:ec2:us-west-1:123456789012:volume/vol-012f345df6789012e. BackupJob ID : 1b2345b2-f22c-4dab-5eb6-bbc7890ed123", "Timestamp": "2019-08-02T18:46:02.788Z", ... "MessageAttributes": { "EventType": {"Type":"String","Value":"BACKUP_JOB"}, "State": {"Type":"String","Value":"FAILED"}, "AccountId": {"Type":"String","Value":"123456789012"}, "Id": {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"}, "StartTime": {"Type":"String","Value":"2019-09-02T13:48:52.226Z"} } } }] }
Example: Backup job could not complete during the backup window
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-west-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup job failed to complete in time. Resource ARN : arn:aws:ec2:us-west-1:123456789012:volume/vol-012f345df6789012e. BackupJob ID : 1b2345b2-f22c-4dab-5eb6-bbc7890ed123", "Timestamp": "2019-08-02T18:46:02.788Z", ... "MessageAttributes" : { "EventType" : {"Type":"String","Value":"BACKUP_JOB"}, "State" : {"Type":"String","Value":"EXPIRED"}, "AccountId" : {"Type":"String","Value":"123456789012"}, "Id" : {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"}, "StartTime" : {"Type":"String","Value":"2019-09-02T13:48:52.226Z"} } } }] }
Example: Recovery point indexing completed
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-west-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup backup index job was completed. Indexed recovery point arn: arn:aws:backup:us-west-2:1112233445566:recovery-point:abcd1234-5678-abcd-9012-abcdef123456", "Timestamp": "2025-05-25T18:46:02.788Z", ... "MessageAttributes" : { "EventType" : {"Type":"String","Value":"RECOVERY_POINT_INDEXING_COMPLETED"}, "AccountId" : {"Type":"String","Value":"123456789012"}, "IndexStatus" : {"Type":"String","Value":"ACTIVE"}, "IsIndexingContinuous" : {"Type":"String","Value":"false"}, "RecoveryPointArn" : {"Type":"String","Value":"arn:aws:backup:us-west-2:1112233445566:recovery-point:abcd1234-5678-abcd-9012-abcdef123456"} } } }] }
Example: EKS backup object failed
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-west-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "A Kubernetes resource failed to backup from your Amazon EKS Backup. Resource: example.resource.io/v1. EKS Cluster Name: eks-cluster-name. BackupJob ID: 1b2345b2-f22c-4dab-5eb6-bbc7890ed123", "Timestamp": "2025-05-25T18:46:02.788Z", ... "MessageAttributes" : { "eventType" : {"Type":"String","Value":"EKS_BACKUP_OBJECT_FAILED"}, "backupJobId" : {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"}, "clusterName" : {"Type":"String","Value":"eks-cluster-name"}, "reason" : {"Type":"String","Value":"Example failure reason."}, "resourceName" : {"Type":"String","Value":"example.resource.io/v1"} } } }] }
Example: EKS restore object failed
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-west-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "A Kubernetes resource failed to restore from your Amazon EKS Backup. Resource: apiextensions.k8s.io/v1/customresourcedefinitions. Resource Name: exampleresource. Destination EKS Cluster Name: eks-restore-target-cluster-name. RestoreJob ID: 1b2345b2-f22c-4dab-5eb6-bbc7890ed123", "Timestamp": "2025-05-25T18:46:02.788Z", ... "MessageAttributes" : { "eventType" : {"Type":"String","Value":"EKS_RESTORE_OBJECT_FAILED"}, "clusterName" : {"Type":"String","Value":"eks-restore-target-cluster-name"}, "parentRestoreJobId" : {"Type":"String","Value":"12345678-abcd-123a-def0-abcd1a234567"}, "reason" : {"Type":"String","Value":"Example failure reason."}, "resourceName" : {"Type":"String","Value":"exampleresourceio"}, "resourceType" : {"Type":"String","Value":"apiextensions.k8s.io/v1/customresourcedefinitions"}, "restoreJobId" : {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"} } } }] }
Example: EKS restore object skipped
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-west-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "A Kubernetes resource was skipped from restore from your Amazon EKS Backup. This Kubernetes resource already exists in your target EKS cluster. Resource: apiextensions.k8s.io/v1/customresourcedefinitions. Resource Name: exampleresource. Destination EKS Cluster Name: eks-restore-target-cluster-name. RestoreJob ID: 1b2345b2-f22c-4dab-5eb6-bbc7890ed123", "Timestamp": "2025-05-25T18:46:02.788Z", ... "MessageAttributes" : { "eventType" : {"Type":"String","Value":"EKS_RESTORE_OBJECT_SKIPPED"}, "clusterName" : {"Type":"String","Value":"eks-restore-target-cluster-name"}, "parentRestoreJobId" : {"Type":"String","Value":"12345678-abcd-123a-def0-abcd1a234567"}, "reason" : {"Type":"String","Value":"Already exists."}, "resourceName" : {"Type":"String","Value":"exampleresource"}, "resourceType" : {"Type":"String","Value":"apiextensions.k8s.io/v1/customresourcedefinitions"}, "restoreJobId" : {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"} } } }] }
Example: EKS restore modification succeeded
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-west-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "A Kubernetes resource was successfully modified by your resource modifiers during restore from your Amazon EKS Backup. Resource: apps/v1/deployments. Resource Name: exampledeployment. Namespace: production. Destination EKS Cluster Name: eks-restore-target-cluster-name. RestoreJob ID: 1b2345b2-f22c-4dab-5eb6-bbc7890ed123", "Timestamp": "2025-05-25T18:46:02.788Z", ... "MessageAttributes" : { "eventType" : {"Type":"String","Value":"EKS_RESTORE_MODIFICATION_SUCCESS"}, "clusterName" : {"Type":"String","Value":"eks-restore-target-cluster-name"}, "namespace" : {"Type":"String","Value":"production"}, "parentRestoreJobId" : {"Type":"String","Value":"12345678-abcd-123a-def0-abcd1a234567"}, "resourceName" : {"Type":"String","Value":"exampledeployment"}, "resourceType" : {"Type":"String","Value":"apps/v1/deployments"}, "restoreJobId" : {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"} } } }] }
Example: EKS restore modification failed
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-west-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "One of your resource modifiers could not be applied to a Kubernetes resource during restore from your Amazon EKS Backup. The failed modification did not take effect; other requested modifications may have been applied. Resource: apps/v1/deployments. Resource Name: exampledeployment. Namespace: production. Destination EKS Cluster Name: eks-restore-target-cluster-name. RestoreJob ID: 1b2345b2-f22c-4dab-5eb6-bbc7890ed123", "Timestamp": "2025-05-25T18:46:02.788Z", ... "MessageAttributes" : { "eventType" : {"Type":"String","Value":"EKS_RESTORE_MODIFICATION_FAILED"}, "clusterName" : {"Type":"String","Value":"eks-restore-target-cluster-name"}, "namespace" : {"Type":"String","Value":"production"}, "parentRestoreJobId" : {"Type":"String","Value":"12345678-abcd-123a-def0-abcd1a234567"}, "reason" : {"Type":"String","Value":"Resource modifier operation replace on path /spec/replicas could not be applied."}, "resourceName" : {"Type":"String","Value":"exampledeployment"}, "resourceType" : {"Type":"String","Value":"apps/v1/deployments"}, "restoreJobId" : {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"} } } }] }
Example: Access point available
{ "Type": "Notification", "MessageId": "dd7579e6-47bb-51af-866c-1b36e07d9aaa", "TopicArn": "arn:aws:sns:us-east-1:123456789012:my-backup-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup access point was created successfully. Access point ARN: arn:aws:backup:us-east-1:123456789012:accesspoint/my-access-point. S3 access point ARN: arn:aws:s3:us-east-1:123456789012:accesspoint/my-access-point. Recovery point ARN: arn:aws:backup:us-east-1:123456789012:recovery-point:rp-1234567890abcdef0.", "Timestamp": "2026-07-28T12:00:26.426Z", "MessageAttributes": { "EventType": {"Type":"String","Value":"ACCESS_POINT_AVAILABLE"}, "Status": {"Type":"String","Value":"AVAILABLE"}, "AccountId": {"Type":"String","Value":"123456789012"}, "AccessPointArn": {"Type":"String","Value":"arn:aws:backup:us-east-1:123456789012:accesspoint/my-access-point"}, "CreationTime": {"Type":"String","Value":"2026-07-28T12:00:25.938846787Z"} } }
Example: Access point creation failed
{ "Type": "Notification", "MessageId": "abcdef01-2345-6789-abcd-ef0123456789", "TopicArn": "arn:aws:sns:us-east-1:123456789012:my-backup-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup access point failed to create. Access point ARN: arn:aws:backup:us-east-1:123456789012:accesspoint/my-access-point. Recovery point ARN: arn:aws:backup:us-east-1:123456789012:recovery-point:rp-1234567890abcdef0.", "Timestamp": "2026-07-28T12:05:10.123Z", "MessageAttributes": { "EventType": {"Type":"String","Value":"ACCESS_POINT_CREATION_FAILED"}, "Status": {"Type":"String","Value":"FAILED"}, "AccountId": {"Type":"String","Value":"123456789012"}, "AccessPointArn": {"Type":"String","Value":"arn:aws:backup:us-east-1:123456789012:accesspoint/my-access-point"}, "CreationTime": {"Type":"String","Value":"2026-07-28T12:04:55.123456789Z"} } }
Example: Access point expired
{ "Type": "Notification", "MessageId": "fedcba98-7654-3210-fedc-ba9876543210", "TopicArn": "arn:aws:sns:us-east-1:123456789012:my-backup-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup access point expired. Access point ARN: arn:aws:backup:us-east-1:123456789012:accesspoint/my-access-point. Recovery point ARN: arn:aws:backup:us-east-1:123456789012:recovery-point:rp-1234567890abcdef0.", "Timestamp": "2026-07-28T18:30:05.789Z", "MessageAttributes": { "EventType": {"Type":"String","Value":"ACCESS_POINT_EXPIRED"}, "Status": {"Type":"String","Value":"EXPIRED"}, "AccountId": {"Type":"String","Value":"123456789012"}, "AccessPointArn": {"Type":"String","Value":"arn:aws:backup:us-east-1:123456789012:accesspoint/my-access-point"}, "CreationTime": {"Type":"String","Value":"2026-07-28T12:00:25.938846787Z"} } }
Example: Log backup pending
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-east-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup job's status code changed to LOG_BACKUP_PENDING. Recovery point ARN: arn:aws:backup:us-east-1:123456789012:recovery-point:change-log:oracledb-database/abcdef0123456789abcdef012. Backed up Resource ARN : arn:aws:backup-external:us-east-1:123456789012:resource-target:oracledb-database/0123456789abcdef012345678. Backup Job Id : 1b2345b2-f22c-4dab-5eb6-bbc7890ed123. Status Message : null", "Timestamp": "2026-11-07T20:40:16.878Z", ... "MessageAttributes": { "EventType": {"Type":"String","Value":"LOG_BACKUP_PENDING"}, "AccountId": {"Type":"String","Value":"123456789012"}, "Id": {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"}, "ResourceArn": {"Type":"String","Value":"arn:aws:backup-external:us-east-1:123456789012:resource-target:oracledb-database/0123456789abcdef012345678"}, "ResourceType": {"Type":"String","Value":"BackupExternal-ORACLEDB_DATABASE"} } } }] }
Example: Log backup capturing
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-east-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup job's status code changed to LOG_BACKUP_CAPTURING. Recovery point ARN: arn:aws:backup:us-east-1:123456789012:recovery-point:change-log:oracledb-database/abcdef0123456789abcdef012. Backed up Resource ARN : arn:aws:backup-external:us-east-1:123456789012:resource-target:oracledb-database/0123456789abcdef012345678. Backup Job Id : 1b2345b2-f22c-4dab-5eb6-bbc7890ed123. Status Message : null", "Timestamp": "2026-11-11T18:06:20.687Z", ... "MessageAttributes": { "EventType": {"Type":"String","Value":"LOG_BACKUP_CAPTURING"}, "AccountId": {"Type":"String","Value":"123456789012"}, "Id": {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"}, "ResourceArn": {"Type":"String","Value":"arn:aws:backup-external:us-east-1:123456789012:resource-target:oracledb-database/0123456789abcdef012345678"}, "ResourceType": {"Type":"String","Value":"BackupExternal-ORACLEDB_DATABASE"} } } }] }
Example: Log backup not capturing
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-east-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup job's status code changed to LOG_BACKUP_NOT_CAPTURING. Recovery point ARN: arn:aws:backup:us-east-1:123456789012:recovery-point:change-log:mssql-database/abcdef0123456789abcdef012. Backed up Resource ARN : arn:aws:backup-external:us-east-1:123456789012:resource-target:mssql-database/0123456789abcdef012345678. Backup Job Id : 1b2345b2-f22c-4dab-5eb6-bbc7890ed123. Status Message : [1-1-19] No databases available for log backup. Found 1 dbs waiting for their first full backup.", "Timestamp": "2026-11-10T02:06:34.189Z", ... "MessageAttributes": { "EventType": {"Type":"String","Value":"LOG_BACKUP_NOT_CAPTURING"}, "AccountId": {"Type":"String","Value":"123456789012"}, "Id": {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"}, "ResourceArn": {"Type":"String","Value":"arn:aws:backup-external:us-east-1:123456789012:resource-target:mssql-database/0123456789abcdef012345678"}, "ResourceType": {"Type":"String","Value":"BackupExternal-MSSQL_DATABASE"} } } }] }
Example: Log backup unknown
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-east-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup job's status code changed to LOG_BACKUP_UNKNOWN. Recovery point ARN: arn:aws:backup:us-east-1:123456789012:recovery-point:change-log:oracledb-database/abcdef0123456789abcdef012. Backed up Resource ARN : arn:aws:backup-external:us-east-1:123456789012:resource-target:oracledb-database/0123456789abcdef012345678. Backup Job Id : 1b2345b2-f22c-4dab-5eb6-bbc7890ed123. Status Message : Backup of 0 objects out of 1 objects failed, check task logs for details", "Timestamp": "2026-11-19T06:06:24.522Z", ... "MessageAttributes": { "EventType": {"Type":"String","Value":"LOG_BACKUP_UNKNOWN"}, "AccountId": {"Type":"String","Value":"123456789012"}, "Id": {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"}, "ResourceArn": {"Type":"String","Value":"arn:aws:backup-external:us-east-1:123456789012:resource-target:oracledb-database/0123456789abcdef012345678"}, "ResourceType": {"Type":"String","Value":"BackupExternal-ORACLEDB_DATABASE"} } } }] }
Example: Log backup range break
{ "Records": [{ "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:...-a3802aa1ed45", "Sns": { "Type": "Notification", "MessageId": "12345678-abcd-123a-def0-abcd1a234567", "TopicArn": "arn:aws:sns:us-east-1:123456789012:backup-2sqs-sns-topic", "Subject": "Notification from AWS Backup", "Message": "An AWS Backup job had a log range break. Recovery point ARN: arn:aws:backup:us-east-1:123456789012:recovery-point:change-log:mssql-database/abcdef0123456789abcdef012. Backed up Resource ARN : arn:aws:backup-external:us-east-1:123456789012:resource-target:mssql-database/0123456789abcdef012345678. Backup Job Id : 1b2345b2-f22c-4dab-5eb6-bbc7890ed123. Log Break Start Time : 2026-11-06T13:24:50Z. Status Message : [1-1-4] Discovered a break in the logchain for following databases: MSSQLSERVER/YourDatabase, on Host 192.0.2.10. Please make sure there is no other product backing up these databases.", "Timestamp": "2026-11-07T02:56:57.759Z", ... "MessageAttributes": { "EventType": {"Type":"String","Value":"LOG_BACKUP_RANGE_BREAK"}, "AccountId": {"Type":"String","Value":"123456789012"}, "ApplianceArn": {"Type":"String","Value":"arn:aws:backup-external:us-east-1:123456789012:appliance:1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"}, "Id": {"Type":"String","Value":"1b2345b2-f22c-4dab-5eb6-bbc7890ed123"}, "ResourceArn": {"Type":"String","Value":"arn:aws:backup-external:us-east-1:123456789012:resource-target:mssql-database/0123456789abcdef012345678"}, "ResourceType": {"Type":"String","Value":"MSSQL_DATABASE"} } } }] }

AWS Backup notification command examples

You can use AWS CLI commands to subscribe to, list, and delete Amazon SNS notifications for your AWS Backup events.

Example put backup vault notification

The following command subscribes to an Amazon SNS topic for the specified backup vault that notifies you when a restore job is started or completed, or when a recovery point is modified.

aws backup put-backup-vault-notifications --backup-vault-name myBackupVault --sns-topic-arn arn:aws:sns:region:account-id:myBackupTopic --backup-vault-events RESTORE_JOB_STARTED RESTORE_JOB_COMPLETED RECOVERY_POINT_MODIFIED

Example get backup vault notification

The following command lists all events currently subscribed to an Amazon SNS topic for the specified backup vault.

aws backup get-backup-vault-notifications --backup-vault-name myVault

The sample output is as follows:

{ "SNSTopicArn": "arn:aws:sns:region:account-id:myBackupTopic", "BackupVaultEvents": [ "RESTORE_JOB_STARTED", "RESTORE_JOB_COMPLETED", "RECOVERY_POINT_MODIFIED" ], "BackupVaultName": "myVault", "BackupVaultArn": "arn:aws:backup:region:account-id:backup-vault:myVault" }

Example delete backup vault notification

The following command unsubscribes from an Amazon SNS topic for the specified backup vault.

aws backup delete-backup-vault-notifications --backup-vault-name myVault

Specifying AWS Backup as a service principal

Note

To allow AWS Backup to publish SNS topics on your behalf, you must specify AWS Backup as a service principal.

Include the following JSON in the access policy of the Amazon SNS topic that you use to track AWS Backup events. You must specify the resource Amazon Resource Name (ARN) of your topic.

{ "Sid": "My-statement-id", "Effect": "Allow", "Principal": { "Service": "backup.amazonaws.com" }, "Action": "SNS:Publish", "Resource": "arn:aws:sns:region:account-id:myTopic" }

For more information about specifying a service principal in an Amazon SNS access policy, see Allowing Any AWS Resource to Publish to a Topic in the Amazon Simple Notification Service Developer Guide.

Note

If your topic is encrypted, you must include additional permissions in your policy to allow AWS Backup to publish to it. For more information about enabling services to publish to encrypted topics, see Enable Compatibility between Event Sources from AWS Services and Encrypted Topics in the Amazon Simple Notification Service Developer Guide.

File-level error reports in Amazon S3

When you back up on-premises and self-managed resources with a backup appliance, a backup or restore job can fail to process individual files. For example, a NAS backup skips files that it can't read, and the job completes with issues. To see which files were affected and why, configure file-level error reports for the local vault. When a job for a resource in that vault has file-level errors, the appliance uploads a report to the Amazon S3 bucket that you specify. The report lists each affected file and its error.

To configure reports, use the ReportsInS3 parameter of the PutBackupVaultNotifications operation. To view the current configuration, use GetBackupVaultNotifications. ReportsInS3 contains the following fields:

  • BucketName (required) – The name of the Amazon S3 bucket that receives the reports.

  • KeyPrefix (optional) – A prefix for the object key of each report. The prefix can be up to 200 characters and can contain letters, numbers, and the characters ! - _ . * ' ( ) /.

  • ExpectedBucketOwner (required) – The 12-digit ID of the account that owns the bucket. This must be your own account or an account in the same organization in AWS Organizations.

  • ResourceTypes (required) – The resource types to deliver reports for, such as BackupExternal-NAS_FILESYSTEM or BackupExternal-SERVER_FILESYSTEM. Specify at least one resource type, and specify each resource type only once.

Considerations

  • Only local vaults support file-level error reports. For more information, see Local vault.

  • AWS Backup checks that the bucket owner is your account or in your organization when you configure reports, and again each time a report is delivered. If the account that owns the vault or the bucket leaves the organization, AWS Backup stops delivering reports.

  • PutBackupVaultNotifications still requires SNSTopicArn and BackupVaultEvents. Each call replaces the vault's notification configuration. To keep reports turned on, include ReportsInS3 every time you call PutBackupVaultNotifications for the vault.

Permissions for report delivery

The appliance uploads reports with the appliance IAM role. For each report, AWS Backup limits the role's credentials to uploading that one report object to your bucket. Make sure that the following permissions are in place:

  • The appliance role allows the upload. The AWSBackupServiceRolePolicyForBackupAppliance managed policy includes these permissions. If you use your own policy instead, allow s3:PutObject, s3:AbortMultipartUpload, and s3:ListMultipartUploadParts on the report objects. For more information, see Create the appliance IAM role.

  • If the bucket is in a different account than the appliance role, the bucket policy allows the appliance role to upload objects to the report keys.

  • If the bucket uses default encryption with a customer managed AWS KMS key, the key policy allows the appliance role to use the key through Amazon S3 (kms:GenerateDataKey and kms:Decrypt).

Report location

AWS Backup writes one comma-separated values (CSV) report for each job that has file-level errors, at the following object keys:

key-prefix/backup/backup-job-id/backupExternalFileErrors.csv key-prefix/restore/restore-job-id/backupExternalFileErrors.csv

Configure file-level error reports with the AWS CLI

The following command subscribes a local vault to an Amazon SNS topic for completed backup jobs. It also delivers file-level error reports for NAS file systems to an Amazon S3 bucket.

aws backup put-backup-vault-notifications \ --backup-vault-name myLocalVault \ --sns-topic-arn arn:aws:sns:region:account-id:myBackupTopic \ --backup-vault-events BACKUP_JOB_COMPLETED \ --reports-in-s3 '{ "BucketName": "amzn-s3-demo-bucket", "KeyPrefix": "file-error-reports", "ExpectedBucketOwner": "111122223333", "ResourceTypes": ["BackupExternal-NAS_FILESYSTEM"] }'

To check the configuration, run the following command.

aws backup get-backup-vault-notifications \ --backup-vault-name myLocalVault

The sample output is as follows:

{ "BackupVaultName": "myLocalVault", "BackupVaultArn": "arn:aws:backup:region:account-id:backup-vault:myLocalVault", "SNSTopicArn": "arn:aws:sns:region:account-id:myBackupTopic", "BackupVaultEvents": [ "BACKUP_JOB_COMPLETED" ], "ReportsInS3": { "BucketName": "amzn-s3-demo-bucket", "KeyPrefix": "file-error-reports", "ExpectedBucketOwner": "111122223333", "ResourceTypes": [ "BackupExternal-NAS_FILESYSTEM" ] } }