Skip to content
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

Open
2 tasks done
rrossouw01 opened this issue Dec 8, 2021 · 11 comments
Open
2 tasks done

awsbackup describe-backup-job missing BackupSizeInBytes #9042

rrossouw01 opened this issue Dec 8, 2021 · 11 comments
Labels
backup bug This issue is a bug. p2 This is a standard priority issue service-api This issue is due to a problem in a service API, not the SDK implementation.

Comments

@rrossouw01
Copy link

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"
}
`

@stobrien89 stobrien89 self-assigned this Dec 8, 2021
@stobrien89
Copy link
Member

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.

@rrossouw01
Copy link
Author

Hi and thanks for looking at it.
A) I should have noted this changed around 12/3. Before 12/2 ALL (including Aurora) type had this key in response.
B) It is possible you are correct on limitation but then this should reflect on doc here https://awscli.amazonaws.com/v2/documentation/api/latest/reference/backup/describe-backup-job.html

@stobrien89
Copy link
Member

Thanks for the update, @rrossouw01. I've passed this info along to the Backup team.

@stobrien89
Copy link
Member

P56673833

@stobrien89
Copy link
Member

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!

@stobrien89
Copy link
Member

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!

@stobrien89 stobrien89 transferred this issue from aws/aws-cli Jan 4, 2022
@stobrien89 stobrien89 added backup service-api This issue is due to a problem in a service API, not the SDK implementation. labels Jan 4, 2022
@yasminetalby yasminetalby self-assigned this Jun 13, 2023
@ashishdhingra
Copy link
Contributor

P123628246

@ashishdhingra
Copy link
Contributor

ashishdhingra commented Mar 27, 2024

Opened new ticket with service team. Awaiting response.

@ashishdhingra
Copy link
Contributor

Reached out to service team requesting for an update.

2 similar comments
@ashishdhingra
Copy link
Contributor

Reached out to service team requesting for an update.

@ashishdhingra
Copy link
Contributor

Reached out to service team requesting for an update.

@tim-finnigan tim-finnigan added the bug This issue is a bug. label Oct 30, 2024
@tim-finnigan tim-finnigan transferred this issue from aws/aws-sdk Oct 30, 2024
@tim-finnigan tim-finnigan added the p2 This is a standard priority issue label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backup bug This issue is a bug. p2 This is a standard priority issue service-api This issue is due to a problem in a service API, not the SDK implementation.
Projects
None yet
Development

No branches or pull requests

5 participants