Maintain control of your Microsoft 365 data
Post Reply
dbeerts
Enthusiast
Posts: 27
Liked: 1 time
Joined: Feb 05, 2019 9:59 am
Full Name: DBeerts
Contact:

Can object storage repo show it's own capacity instead of the cache disk size?

Post by dbeerts »

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?
mjr.epicfail
Veeam Legend
Posts: 516
Liked: 143 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?

Post by mjr.epicfail »

Hmm,

I dont think thats possible, not sure if the S3 API even has a call for that...
VMCE / Veeam Legend 2*
Polina
Veeam Software
Posts: 3482
Liked: 831 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?

Post by Polina » 1 person likes this post

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]
SprunkiRetake
Lurker
Posts: 1
Liked: never
Joined: May 19, 2025 2:42 am
Full Name: Sprunki Retake
Contact:

Re: Can object storage repo show it's own capacity instead of the cache disk size?

Post by SprunkiRetake »

for v8, is it easy to do?
mjr.epicfail
Veeam Legend
Posts: 516
Liked: 143 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?

Post by mjr.epicfail »

Hi Sprunki,

I dont really get your question, can you elaborate?
VMCE / Veeam Legend 2*
Post Reply

Who is online

Users browsing this forum: No registered users and 73 guests