Set-VBRTapeMediaPool
Short Description
Modifies a media pool.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRTapeMediaPool -MediaPool <VBRTapeMediaPool> -Library <VBRTapeLibrary[]> [-Name <String>] [-Description <String>] [-MoveFromFreePool] [-MoveOfflineToVault] [-Vault <VBRTapeVault>] [-EnableEncryption] [-EncryptionKey <VBREncryptionKey>] [-KMSServer <VBRKMSServer>] [-MediaSetCreationPolicy <VBRTapeMediaSetCreationPolicy>] [-MediaSetName <String>] [-RetentionPolicy <VBRTapeMediaPoolRetentionPolicy>] [-Medium <VBRTapeMedium[]>] [-NextLibOffline] [-NextLibDrivesBusy] [-NextLibNoMedia] [-NumberOfStreams <Int32>] [-SplitJobFilesBetweenDrives] [-PassThru] [-Mode <String>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies the media pool that was created before.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Description |
Specifies the description for the media pool. |
|
False |
Named |
False |
|
EnableEncryption |
Enables data encryption for data archived to tape.
Use the |
|
False |
Named |
False |
|
EncryptionKey |
Used to set the encryption key for the Specifies the encryption key you want to use to encrypt the data.
Accepts the |
|
False |
Named |
False |
|
KMSServer |
Used to set the encryption key for the Specifies the KMS Server you want to use to encrypt the data.
Accepts the |
False |
Named |
False |
|
|
Library |
Specifies the array of tape libraries whose tapes will be used in this media pool.
Use the
Accepts the |
True |
Named |
True (ByPropertyName) |
|
|
MediaPool |
Specifies the media pool you want to modify.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
MediaSetCreationPolicy |
Specifies the settings of media set you want to apply to this media pool.
If omitted, the media creation policy will be set to
Accepts the |
False |
Named |
False |
|
|
MediaSetName |
Specifies the new name you want to assign to the media sets created in this media pool.
If omitted, the media set name will be set to |
|
False |
Named |
False |
|
Medium |
Specifies the array of tapes you want to add to the media pool.
Accepts the |
False |
Named |
False |
|
|
Mode |
Specifies the tape media pool mode. You can set either of the following modes:
|
|
False |
Named |
False |
|
MoveFromFreePool |
Defines if new tapes will be allocated from the Free media pool when needed. If you provide this parameter, the media pool will be replenished by tapes from the Free media pool. |
|
False |
Named |
False |
|
MoveOfflineToVault |
Defines that the tapes that go offline must be automatically moved to a vault.
Use the |
|
False |
Named |
False |
|
Name |
Specifies the new name you want to assign to the media pool. |
|
False |
Named |
False |
|
NextLibDrivesBusy |
Defines that the media pool will switch to the next library if the primary library has no available drives.
Default:
Note: To disable this option, set the parameter value to |
|
False |
Named |
False |
|
NextLibNoMedia |
Defines that the media pool will switch to the next library if the primary library has no available media.
Default:
Note: To disable this option, set the parameter value to |
|
False |
Named |
False |
|
NextLibOffline |
Defines that the media pool will switch to the next library if the primary library is offline.
Default:
Note: To disable this option, set the parameter value to |
|
False |
Named |
False |
|
NumberOfStreams |
Used to set value for the Defines the maximum number of drives that the media pool can use.
Default: |
|
False |
Named |
False |
|
PassThru |
Defines that the command returns the output object to the Windows PowerShell console. |
|
False |
Named |
False |
|
RetentionPolicy |
Specifies the retention settings you want to apply to this media pool.
If omitted, the media set name will be set to
Accepts the |
False |
Named |
False |
|
|
SplitJobFilesBetweenDrives |
Defines that the backup files within one backup set will be written with several drives to several tapes. Otherwise, one tape job will use one drive. |
|
False |
Named |
False |
|
Vault |
Used to set vault for the Specifies the vault to which you want to automatically move the tapes. You can use one vault for several media pools.
Accepts the |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Modifying Media Pool to Move Offline Tapes to Vault
|
This example shows how to instruct a selected media pool to move the offline tapes to a tape vault.
Perform the following steps:
|
Example 2. Adding Encryption Settings to Media Pool
|
This example shows how to add encryption settings to a selected media pool.
Perform the following steps:
|
Related Commands
Get-VBRTapeMediaPoolReturns media pools.Get-VBRTapeLibraryReturns tape libraries.Get-VBRTapeMediumReturns tapes.Get-VBRTapeVaultReturns tape vaults.Get-VBREncryptionKeyReturns encryption keys.New-VBRTapeMediaPoolRetentionPolicyDefines retention settings of a media pool.New-VBRTapeMediaSetCreationPolicyDefines a set of rules for creating media sets.