PowerShell script exchange
Post Reply
flow
Influencer
Posts: 22
Liked: 3 times
Joined: Sep 05, 2020 6:48 am
Contact:

Get Backup size for Plugins?

Post by flow »

Hey, does anyone have an idea how I can get the backup size for rman, db2 and sap hana plugin from the VBR server in a scale-out environment?
david.domask
Veeam Software
Posts: 3143
Liked: 720 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Get Backup size for Plugins?

Post by david.domask » 1 person likes this post

Hi flow,

Regrettably we need to use unsupported methods here. Fetch the backup with Get-VBRBackup and use the -Name parameter, then do:

Code: Select all

$backups.GetAllChildrenStorages().Stats

BackupSize   DataSize DedupRatio CompressRatio
----------   -------- ---------- -------------
 447287296  444596224        100           100
1010388992 1006632960        100           100
 885624832  880803840        100           100
1019842560 1015021568        100           100
3645476864 3640655872        100           100
GetAllChildrenStorages() returns all of the backup files themselves (that's why you see 5 entries in my output), so start with GetAllChildrenStorages() and then process each returned storage for the backup.
David Domask | Product Management: Principal Analyst
flow
Influencer
Posts: 22
Liked: 3 times
Joined: Sep 05, 2020 6:48 am
Contact:

Re: Get Backup size for Plugins?

Post by flow » 1 person likes this post

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests