PowerShell script exchange
Post Reply
EWMarco
Service Provider
Posts: 39
Liked: 7 times
Joined: Feb 20, 2023 9:28 am
Full Name: Marco Glavas
Contact:

Determining in which capacity extent an active chain resides

Post by EWMarco »

Hi there

We're having major issues with our S3 running full. That's mainly because we didn't deploy enough individual buckets/didn't make the buckets large enough. We would like to find the sweet spot of number of buckets to size (buckets 300TB and above are no longer manageable in our environment. We're currently at 120 TB).

What happened was buckets got filled up. We added more buckets but of course that triggers new chains to be started, generating a lot of additional data on S3. Is there a way to determine how many active chains reside on each bucket? If I could determine that, it would help balancing storage between buckets.
Mildur
Product Manager
Posts: 8735
Liked: 2294 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Determining in which capacity extent an active chain resides

Post by Mildur »

Hi Marco

It's not possible in the UI. v12.1 has new official cmdlets to list all restore points available in the capacity tier. Unfortunately they don't provide you with the extend.
I have now asked a colleague from our automation team (PowerShell) if we have unofficial cmdlets.

Best,
Fabian
Product Management Analyst @ Veeam Software
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Determining in which capacity extent an active chain resides

Post by oleg.feoktistov » 1 person likes this post

Hi Marco,

Not possible with the supported cmdlets, but here is the unsupported workaround example on how to get backup files / extents associations:

Code: Select all

$backup = Get-VBRBackup -Name 'Backup Job 1'
$storages = $backup.GetAllChildrenStorages()
foreach ($storage in $storages) {
  $association = [Veeam.Backup.DBManager.CDBManager]::Instance.StorageExtentAssociations.GetByStorageId($storage.Id)
  $association
}
You can go from here and then build a report for the whole chains.

Best regards,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests