For reporting purposes we use the API Call 'Get Backup Repository'' (https://helpcenter.veeam.com/archive/vb ... toriesById). This returns the capacityBytes and freeSpaceBytes of the repo.
For local disks you can use this to calculate the used space, but for a S3 repo it returns the sizing of the configured cache disk, not from the bucket.
Is it possible to read the real capacity of the S3 bucket?
-
- Enthusiast
- Posts: 27
- Liked: 1 time
- Joined: Feb 05, 2019 9:59 am
- Full Name: DBeerts
- Contact:
-
- Veeam Legend
- Posts: 495
- Liked: 136 times
- Joined: Apr 22, 2022 12:14 pm
- Full Name: Danny de Heer
- Contact:
Re: Can object storage repo show it's own capacity instead of the cache disk size?
Hmm,
I dont think thats possible, not sure if the S3 API even has a call for that...
I dont think thats possible, not sure if the S3 API even has a call for that...
VMCE / Veeam Legend 2*
-
- Veeam Software
- Posts: 3476
- Liked: 830 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: Can object storage repo show it's own capacity instead of the cache disk size?
Hi DBeerts,
Capacity is indeed not available. But the usedSpaceBytes returns you space consumed in an object storage repository.
In v7 APIs, you can get it with the (GET) /v7/objectstoragerepositories/{repositoryId}
In v8, use the {url=https://helpcenter.veeam.com/docs/vbo36 ... t=response
}(GET) /v8/BackupRepositories[/url]
Capacity is indeed not available. But the usedSpaceBytes returns you space consumed in an object storage repository.
In v7 APIs, you can get it with the (GET) /v7/objectstoragerepositories/{repositoryId}
In v8, use the {url=https://helpcenter.veeam.com/docs/vbo36 ... t=response
}(GET) /v8/BackupRepositories[/url]
Who is online
Users browsing this forum: No registered users and 281 guests