For accounting reasons I gathered with v11 every month all the files in the repositories and build a report how much storage each vm uses.
The informations I needed came from Get-VBRBackupFile that had beside others a stats property with subitems datasize, backupsize, compression and deduperatio.
Now all this is gone - in v12 get-vbrbackupfile has only 3 properties: id,IsAvailable and Path
Where has this information now moved to?
Is there an easy way to get storage consumption per backup object for primary and copypools (including sql, fileshares, agents....)
-
- Enthusiast
- Posts: 62
- Liked: 6 times
- Joined: May 09, 2012 12:52 pm
- Full Name: Stefan Holzwarth
- Contact:
-
- Veeam Software
- Posts: 2006
- Liked: 666 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Infos about files in repositories for accounting
Hi Stefan,
Are you sure you are talking about the official Get-VBRBackupFile cmdlet? Because VBRBackupFile class never contained such properties and Get-VBRBackupFile never returned them. Maybe you are referring to some wrapper function that has the same name, but calls other methods like GetAllChildrenStorages() on a backup and returns objects of CStorage class?
Thanks,
Oleg
Are you sure you are talking about the official Get-VBRBackupFile cmdlet? Because VBRBackupFile class never contained such properties and Get-VBRBackupFile never returned them. Maybe you are referring to some wrapper function that has the same name, but calls other methods like GetAllChildrenStorages() on a backup and returns objects of CStorage class?
Thanks,
Oleg
-
- Enthusiast
- Posts: 62
- Liked: 6 times
- Joined: May 09, 2012 12:52 pm
- Full Name: Stefan Holzwarth
- Contact:
Re: Infos about files in repositories for accounting
Hi Oleg, you are right. Sorry I missed a line of code.
I used Getallstorages() thats no longer available. The information I need is under the stats property. Where can I find this now?
Kind regards spex
$(Get-VBRBackup -Name VMB_MZ_07:45).GetAllStorages()|gm| ?{$_.membertype -eq "Property"}|select Name
ActualEndDate
BackupId
BlockAlignmentSize
BlockSize
ChangeVersion
CreationMode
CreationTime
CreationTimeUtc
CreationTimeUtcWrapped
CreationTimeWrapped
DbMethods
ExternalContentMode
FilePath
GfsDates
GfsPeriod
HasVbk
HostId
Id
ImmutableTillUtc
Info
IsAvailable
IsBlockAlignmentSizeSet
IsContentExternal
IsContentFrozen
IsContentInternal
IsEncrypted
IsFull
IsFullFast
IsImmutable
IsIncrementalFast
LastCompactTime
LastRecheckTime
LinkableType
LinkId
LinkIdNullable
MetaCryptoKeyId
ObjectId
OriginalId
PartialIncrement
PartialPath
Stats
StorageCryptoKeyId
I used Getallstorages() thats no longer available. The information I need is under the stats property. Where can I find this now?
Kind regards spex
$(Get-VBRBackup -Name VMB_MZ_07:45).GetAllStorages()|gm| ?{$_.membertype -eq "Property"}|select Name
ActualEndDate
BackupId
BlockAlignmentSize
BlockSize
ChangeVersion
CreationMode
CreationTime
CreationTimeUtc
CreationTimeUtcWrapped
CreationTimeWrapped
DbMethods
ExternalContentMode
FilePath
GfsDates
GfsPeriod
HasVbk
HostId
Id
ImmutableTillUtc
Info
IsAvailable
IsBlockAlignmentSizeSet
IsContentExternal
IsContentFrozen
IsContentInternal
IsEncrypted
IsFull
IsFullFast
IsImmutable
IsIncrementalFast
LastCompactTime
LastRecheckTime
LinkableType
LinkId
LinkIdNullable
MetaCryptoKeyId
ObjectId
OriginalId
PartialIncrement
PartialPath
Stats
StorageCryptoKeyId
-
- Veeam Software
- Posts: 2006
- Liked: 666 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Infos about files in repositories for accounting
Hi Stefan,
In v12 we introduced true per-vm, so backups architecture changed. It might be the reason why GetAllStorages() doesn't work. Try GetAllChildrenStorages() instead. It fetches all the storages of child backups and works in my v12 lab.
Best regards,
Oleg
In v12 we introduced true per-vm, so backups architecture changed. It might be the reason why GetAllStorages() doesn't work. Try GetAllChildrenStorages() instead. It fetches all the storages of child backups and works in my v12 lab.
Best regards,
Oleg
-
- Enthusiast
- Posts: 62
- Liked: 6 times
- Joined: May 09, 2012 12:52 pm
- Full Name: Stefan Holzwarth
- Contact:
Re: Infos about files in repositories for accounting
Hi Oleg,
GetAllChildrenStorages() helped. Now I have all needed stats available again.
Thanks a lot!
GetAllChildrenStorages() helped. Now I have all needed stats available again.
Thanks a lot!
Who is online
Users browsing this forum: No registered users and 7 guests