yadvr opened a new issue, #12536:
URL: https://github.com/apache/cloudstack/issues/12536
### problem
listUsageRecords for backup usage (type 28) isn't returning the backup
storage usage
```
{
"account": "admin",
"accountid": "d7cde215-82fa-11ed-b2b0-525400110090",
"description": "Backup usage of size 24 Hrs for VM dl-yadavcloud
(6aa02af7-9782-4b08-8270-a35aea4849ca) and backup offering NAS Backup Offering
(4abcf42c-356f-44e4-a477-ba3cf75c40cc, user ad-hoc/scheduled backup allowed:
true)",
"domain": "ROOT",
"domainid": "b13960b9-82fa-11ed-b2b0-525400110090",
"domainpath": "ROOT",
"enddate": "2026-01-22T23:59:59+0530",
"name": "i-2-1231-VM",
"rawusage": "24",
"startdate": "2026-01-22T00:00:00+0530",
"tags": [],
"usage": "24 Hrs",
"usageid": "6aa02af7-9782-4b08-8270-a35aea4849ca",
"usagetype": 28,
"virtualmachineid": "6aa02af7-9782-4b08-8270-a35aea4849ca",
"zoneid": "323a3a13-7758-4042-98fc-e165da1b139c"
},
```
### versions
ACS 4.22 with NAS B&R
### The steps to reproduce the bug
1. Create backups
2. Ensure usage is enabled and running
3. Check the listUsageRecords after some time (day+)
...
### What to do about it?
The API must return the backup usage and not just the usage time (hours).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]