v9 - missing property vault for media pool

PowerShell script exchange

v9 - missing property vault for media pool

Veeam Logoby FloG » Fri Nov 25, 2016 9:19 am

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 ?
FloG
Influencer
 
Posts: 17
Liked: never
Joined: Mon Nov 21, 2016 1:27 pm
Full Name: Florian Guenzel

Re: v9 - missing property vault for media pool

Veeam Logoby v.Eremin » Mon Nov 28, 2016 4:26 pm

Or is this a bug ?

Correct, it's been an unintentional change and should be fixed sooner rather than later. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: v9 - missing property vault for media pool

Veeam Logoby v.Eremin » Tue Nov 29, 2016 12:40 pm

The problem will be fixed in Update 1. Thank you for raising this; much appreciated.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 6 guests