Hi all, I want to find size of my backups chains. I know I can see it from the console but, to automate, I would like to use a PS script.
I found something for a VEEAM with a SQL DB, my installation have a postgressql and i can't find information about it.
The configuration of the repository is "use per machine backup files".
Someone has already had the same need? Do you have any advice?
Thank you
-
- Service Provider
- Posts: 7
- Liked: never
- Joined: Sep 21, 2022 3:33 pm
- Contact:
-
- Veeam Legend
- Posts: 298
- Liked: 73 times
- Joined: Apr 22, 2022 12:14 pm
- Full Name: Danny de Heer
- Contact:
Re: Size of Backup chain
VMCE / Veeam Legend 2*
-
- Veeam Software
- Posts: 1857
- Liked: 447 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Size of Backup chain
Hi @DanCasan,
post501161.html?hilit=size%20of%20backup#p501161
Check this topic and also check ones from search for "powershell backup size"
Basically you can see how to get the backup size from this thread and can just loop over all restore points for a given backup and size it that way.
$backup = Get-VBRBackup -Name 'name of backup'
$rps = Get-VBRRestorePoint -Backup $backup
That will pull all the restore points for a given backup you feed it, and then you can use the properties from the topic that Oleg shared to build a report.
post501161.html?hilit=size%20of%20backup#p501161
Check this topic and also check ones from search for "powershell backup size"
Basically you can see how to get the backup size from this thread and can just loop over all restore points for a given backup and size it that way.
$backup = Get-VBRBackup -Name 'name of backup'
$rps = Get-VBRRestorePoint -Backup $backup
That will pull all the restore points for a given backup you feed it, and then you can use the properties from the topic that Oleg shared to build a report.
David Domask | Product Management: Principal Analyst
Who is online
Users browsing this forum: No registered users and 10 guests