PowerShell script exchange
Post Reply
FloG
Influencer
Posts: 17
Liked: never
Joined: Nov 21, 2016 1:27 pm
Full Name: Florian Guenzel
Contact:

v9 - missing property vault for media pool

Post by FloG »

This is more of a remark than a problem but I wonder if anybody realised that the "Vault" property of a VBRTapeMediaPool object is missing !?

According to the Veeam PS Online Help (https://helpcenter.veeam.com/backup/pow ... apool.html) a VBRTapeMediaPool object should not only have the bool property "MoveOfflineToVault" (IF offline tapes should be moved to a Vault) but also a "Vault" property containing the actual Vault object the tapes should be moved to.

When I use the following commands on v9 update 2 PS

Code: Select all

$Pool = Get-VBRTapeMediaPool -Name "Media Pool Name"
$Pool | Get-Member
the output is missing the "Vault" property

Code: Select all

   TypeName: Veeam.Backup.PowerShell.Infos.VBRTapeMediaPool

Name                   MemberType Definition
----                   ---------- ----------
Equals                 Method     bool Equals(System.Object obj)
GetHashCode            Method     int GetHashCode()
GetType                Method     type GetType()
ToString               Method     string ToString()
Capacity               Property   System.Int64 Capacity {get;}
Description            Property   System.String Description {get;}
EncryptionOptions      Property   Veeam.Backup.PowerShell.Infos.VBREncryptionOptions EncryptionOptions {get;}
FreeSpace              Property   System.Int64 FreeSpace {get;}
GlobalOptions          Property   Veeam.Backup.PowerShell.Infos.VBRGlobalMediaPoolOptions GlobalOptions {get;}
Id                     Property   System.Guid Id {get;}
LibraryId              Property   System.Guid LibraryId {get;}
MediaSetCreationPolicy Property   Veeam.Backup.PowerShell.Infos.VBRTapeMediaSetCreationPolicy MediaSetCreationPolicy...
MediaSetName           Property   System.String MediaSetName {get;}
Medium                 Property   Veeam.Backup.PowerShell.Infos.VBRTapeMedium[] Medium {get;}
MoveFromFreePool       Property   System.Boolean MoveFromFreePool {get;}
MoveOfflineToVault     Property   System.Boolean MoveOfflineToVault {get;}
MultiStreamingOptions  Property   Veeam.Backup.PowerShell.Infos.VBRMultiStreamingOptions MultiStreamingOptions {get;}
Name                   Property   System.String Name {get;}
RetentionPolicy        Property   Veeam.Backup.PowerShell.Infos.VBRTapeMediaPoolRetentionPolicy RetentionPolicy {get;}
Type                   Property   Veeam.Backup.PowerShell.Infos.VBRTapeMediaPoolType Type {get;}
Do I miss something here ? Is there another way to get the Vault configured for a specific Media Pool ? Or is this a bug ?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v9 - missing property vault for media pool

Post by veremin »

Or is this a bug ?
Correct, it's been an unintentional change and should be fixed sooner rather than later. Thanks.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: v9 - missing property vault for media pool

Post by veremin »

The problem will be fixed in Update 1. Thank you for raising this; much appreciated.
Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests