We are using Wasabi with the "wasabi" object storage option.
For the normal repositories we use the command below. But on a S3/Wasabi repository it ain't working. No value for the Freespace.
When we look in the GUI the used space is visible.
$Repos = get-vbrbackuprepository
$RepoDetails = foreach ($repo in $Repos) {
[PSCustomObject]@{
'Name' = $Repo.Name
'ID' = $Repo.ID
'FreeSpace' = $Repo.GetContainer().CachedFreeSpace.InBytes / 1GB
}
}
$RepoDetails
-
- Service Provider
- Posts: 9
- Liked: never
- Joined: Aug 04, 2011 5:49 pm
- Full Name: Gerwin Goodschalk
- Contact:
-
- Product Manager
- Posts: 14599
- Liked: 2969 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: Object-storage repository used space
Hello,
I assume, that you ask for "used space" because "free space" works fine for me with your code in my environment.
Does this help?
Best regards,
Hannes
I assume, that you ask for "used space" because "free space" works fine for me with your code in my environment.
Does this help?
Best regards,
Hannes
Who is online
Users browsing this forum: No registered users and 6 guests