Move-VBRTapeMedium
Short Description
Moves tape to media pool or vault.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides 2 parameter sets.
- For moving tapes to another media pool:
Move-VBRTapeMedium -Medium <VBRTapeMedium[]> -MediaPool <VBRTapeMediaPool> [-WhatIf] [-Confirm] [<CommonParameters>] |
- For moving tapes to vault:
Move-VBRTapeMedium -Medium <VBRTapeMedium[]> -Vault <VBRTapeVault> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet moves selected tapes to another media pool or media vault.
|
When you move a tape to any media pool, Veeam Backup & Replication marks this tape as free. |
You can configure automatic moving offline tapes to a vault in the media pool settings. Run Set-VBRTapeMediaPool to edit media pool configuration.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Medium | Specifies the array of tapes you want to move. Accepts VBRTapeMedium, GUID or string type. | True | Named | True (ByValue, | False |
MediaPool | Specifies the media pool to which you want to move the tapes. Accepts VBRTapeMediaPool, GUID or string type. | True | Named | False | False |
Vault | Specifies the media vault to which you want to move the tapes. Accepts VBRTapeVault, GUID or string type. | True | Named | False | False |
WhatIf | Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | False | Named | False | False |
Confirm | Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
None
Example 1
This example shows how to move a tape to a media pool.
- Get the target media pool. Run Get-VBRTapeMediaPool and save it to the $mediapool variable.
- Get the tape you want to move. Run Get-VBRTapeMedium and pipe it to Move-VBRTapeMedium. Use the $mediapool variable.
Example 2
This example shows how to move a tape to a vault.
- Get the tape you want to move. Run Get-VBRTapeMedium and save the result to the '$medium' variable.
- Get the target vault. Run Get-VBRTapeVault and save it to the $vault variable.
- Run Move-VBRTapeMedium with the saved variables.
Related Commands