Hi there,
I would like to use a PowerShell script to query the actual amount of data being backed up by an agent. So not the size of the disk being backed up, but the capacity being used.
For example: If the agent is backing up a 2TB hard drive, but it is only filled with 500GB, I would like to get the 500GB.
For VMs, I could use the Get-VBRJobObject -Job "job name" function to get an approximate size. When I query agents at this point, I always get 0 as an approximation.
Is anything like this possible for agents? I would appreciate any advice or tips on how to implement this in PowerShell.
Thanks in advance.
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Sep 28, 2023 12:18 pm
- Contact:
-
- Veeam Software
- Posts: 2015
- Liked: 671 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Frontend Capacity Utilization for Agents
Hi,
We don't pull such an info for agent in the context of job objects, but you can try approaching it from backup properties angle. For example:
Best regards,
Oleg
We don't pull such an info for agent in the context of job objects, but you can try approaching it from backup properties angle. For example:
Code: Select all
$backup = Get-VBRBackup -Name 'Agent Backup Job 2'
$rps = Get-VBRRestorePoint -Backup $backup
$rps[0].ApproxSize
Oleg
Who is online
Users browsing this forum: Semrush [Bot] and 13 guests