Move-VBRTapeMedium
Short Description
Moves a 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 parameter sets that allow you to:
- Move tapes to another media pool.
Move-VBRTapeMedium -Medium <VBRTapeMedium[]> -MediaPool <VBRTapeMediaPool> [-WhatIf] [-Confirm] [<CommonParameters>] |
- Move tapes to a vault.
Move-VBRTapeMedium -Medium <VBRTapeMedium[]> -Vault <VBRTapeVault> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet moves selected tapes to another media pool or media vault.
Important! |
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 the Set-VBRTapeMediaPool cmdlet to edit media pool configuration.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Medium | Specifies the array of tapes you want to move. | Accepts the VBRTapeMedium[] object, GUID or string. To get this object, run the Get-VBRTapeMedium cmdlet. | True | Named | True (ByValue, |
MediaPool | Specifies the media pool to which you want to move the tapes. | Accepts the VBRTapeMediaPool object, GUID or string. To get this object, run the Get-VBRTapeMediaPool cmdlet. | True | Named | False |
Vault | Specifies the media vault to which you want to move the tapes. | Accepts the VBRTapeVault object, GUID or string. To get this object, run the Get-VBRTapeVault cmdlet. | True | Named | False |
WhatIf | Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. Note: Microsoft PowerShell enables the Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Example 1. Moving Tape to Media Pool [Using Pipeline]
This example shows how to move the 0014001H tape to the File Backup Media Pool media pool.
Perform the following steps:
|
Example 2. Moving Tape to Vault [Using Variable]
This example shows how to move the 0014001H tape to the Sydney Remote Vault vault.
Perform the following steps:
|
Related Commands