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
aws backup describe-backup-job BackupSizeInBytes and BytesTransferred are always 0 (short issue description) #330
Comments
Hi @orifinkelman thanks for reaching out. Do you mind sharing your debug logs (with any sensitive info redacted) by adding I also saw this related issue on re:Post: https://repost.aws/questions/QUXJTlW8s2SfaAni037N04hA/how-to-see-s-3-backup-size. (Which you may have posted since that was also just created recently.) It's good to ask about service-related issues there too since someone more familiar with this topic might know the answer, so we can monitor the responses there as well. |
Hi @tim-finnigan attahced is the output with the --debug flag. Indeed I have posted to question on re:post, but didn't get any answer so I tried here as well. From playing around with other interfaces, I think this is not coming from the CLI as the log events emitted to CloudWatch are also showing 0. For example this is the completion log event for the same backup job I have sent the CLI output for. Note also that the same happens for the restore. The restore job describe and log event shows 0 bytes even though the restore itself is uccessful. { |
Thanks @orifinkelman for following up and providing the logs. I also think this is an issue with the backup service so I'm going to transfer this over to our cross-SDK repository for tracking and reach out to the appropriate team. I'll update this issue when I hear back. |
P70186911 |
Hi @orifinkelman, I heard back from the service team and they said:
Thanks again for bringing this to our attention. The fix related to BytesTransferred should be out in the near future. Feel free to check back in here for any updates or by pinging AWS Support as mentioned above. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Thanks @tim-finnigan, that would answer the need. |
Describe the bug
I am using aws-cli/2.7.22
Backup S3 buckets.
All my S3 backup jobs always show BackupSizeInBytes and BytesTransferred always show 0, even the first backup job shows 0.
Expected Behavior
I expected to get the full size of the bucket for BackupSizeInBytes for all backup jobs and the number of bytes transferred BytesTransferred according to the actual change in the bucket.
Current Behavior
When using describe-backup-job I am getting 0 for both fields. All other fields come out correct.
$ aws backup describe-backup-job --backup-job-id xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx --output json
{
"AccountId": "XXXXXXXXXX",
"CreationDate": "2022-08-10T12:29:12.700000+03:00",
"CompletionDate": "2022-08-10T12:45:13.952000+03:00",
"State": "COMPLETED",
"PercentDone": "100.0",
"BackupSizeInBytes": 0,
"ResourceType": "S3",
"BytesTransferred": 0,
"StartBy": "2022-08-10T13:29:12.700000+03:00"
}
Reproduction Steps
Check the output
Possible Solution
none.
Additional Information/Context
No response
CLI version used
2.7.22
Environment details (OS name and version, etc.)
Reproduces on:
MacOS version 12.4
And on AWS Linux
NAME="Amazon Linux"
VERSION="2"
Architecture: aarch64
The text was updated successfully, but these errors were encountered: