-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
awsbackup describe-backup-job missing BackupSizeInBytes #9042
Comments
Hi @rrossouw01, Thanks for pointing this out! I was able to reproduce. I don't think this is a bug— I've had discussions with the Backup team before about the APIs they use for various resources and I think this might just be an undocumented limitation. I'll submit an internal ticket to inquire about this and will update you with any information I receive, but please feel free to reach out with any additional questions you may have. |
Hi and thanks for looking at it. |
Thanks for the update, @rrossouw01. I've passed this info along to the Backup team. |
P56673833 |
Hi @rrossouw01, Just wanted to provide an update: The Backup team has advised me that this piece of information is not yet available for Aurora resource types, but I did ask why you may have seen this before. They also advised that they have an open feature request for including this information in the response for an Aurora resource type. I've asked for some clarification from them, as well as a link to their feature request so I can log your interest in this. I'll let you know as soon as I hear back from them! |
Hi @rrossouw01, Thanks for your patience. The backup team is still looking into why you may have seen the field before, but because this issue is not exclusive to the AWS CLI (i.e. this is an API issue), I'll be transferring this to our shared SDKs repository for tracking. I'll reach out as soon as I have an update! |
P123628246 |
Opened new ticket with service team. Awaiting response. |
Reached out to service team requesting for an update. |
2 similar comments
Reached out to service team requesting for an update. |
Reached out to service team requesting for an update. |
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"
}
`
The text was updated successfully, but these errors were encountered: