Skip to content

awsbackup describe-backup-job missing BackupSizeInBytes #9042

@rrossouw01

Description

@rrossouw01

Confirm by changing [ ] to [x] below to ensure that it's a bug:

Describe the bug
Recently we noticed that describe-backup-job API call does NOT include the BackupSizeInBytes any longer for resource type Aurora. For resource type RDS (and other types) it still does have the key. This is true for "copy jobs" as well.

SDK version number
aws-cli/2.2.43 Python/3.8.8

Platform/OS/Hardware/Device
Ubuntu 20.04

see below two outputs.(removed some account specific info)...

`$ aws backup describe-backup-job --backup-job-id 1CDF6B45-A11F-3579-B1D5-7DEF1976D5DF
{
"BackupJobId": "1CDF6B45-A11F-3579-B1D5-7DEF1976D5DF",
"BackupVaultName": "CloudOpsVault",
"CreationDate": "2021-12-08T03:00:00-06:00",
"CompletionDate": "2021-12-08T03:21:42.734000-06:00",
"State": "COMPLETED",
"PercentDone": "100.0",
"CreatedBy": {
"BackupPlanId": "4aee0f48-687f-4d3e-80a9-d6d52daa99b1",
"BackupPlanVersion": "NjljNGE5OGYtZjMwYi00ZGJkLTk5MTgtNjhiNTRmOGIzMDdh",
"BackupRuleId": "930709f7-4e67-43f9-b194-2d88663493a1"
},
"ResourceType": "Aurora",
"BytesTransferred": 0,
"StartBy": "2021-12-08T04:00:00-06:00"
}

$ aws backup describe-backup-job --backup-job-id 5C8357F3-697B-A3DA-E871-4F90D62488BF
{
"BackupJobId": "5C8357F3-697B-A3DA-E871-4F90D62488BF",
"BackupVaultName": "CloudOpsVault",
"CreationDate": "2021-12-08T03:00:00-06:00",
"CompletionDate": "2021-12-08T03:26:41.334000-06:00",
"State": "COMPLETED",
"PercentDone": "100.0",
"BackupSizeInBytes": 0,
"IamRoleArn": "arn:aws:iam::628275657034:role/service-role/AWSBackupDefaultServiceRole",
"CreatedBy": {
"BackupPlanId": "4aee0f48-687f-4d3e-80a9-d6d52daa99b1",
"BackupPlanVersion": "NjljNGE5OGYtZjMwYi00ZGJkLTk5MTgtNjhiNTRmOGIzMDdh",
"BackupRuleId": "930709f7-4e67-43f9-b194-2d88663493a1"
},
"ResourceType": "RDS",
"BytesTransferred": 0,
"StartBy": "2021-12-08T04:00:00-06:00"
}
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    backupbugThis issue is a bug.p2This is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions