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: 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?

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: 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?

Post by Polina »

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]
Post Reply

Who is online

Users browsing this forum: No registered users and 281 guests