Set-VBREncryptedTapeMediumPassword
Short Description
Decrypts encrypted backups stored on tapes.
Applies to
Product Edition: Enterprise
Requires Cloud Connect license
Syntax
This cmdlet provides parameter sets that allow you to:
- Decrypt backups encrypted with a password.
Set-VBREncryptedTapeMediumPassword -Medium <VBRTapeMedium[]> -Password <string[]> [-PassThru] [<CommonParameters>] |
- Decrypt backups encrypted with KMS Server.
Set-VBREncryptedTapeMediumPassword -Medium <VBRTapeMedium[]> -DecryptionSet <VBRDecryptionSet[]> [-PassThru] [<CommonParameters>] |
Detailed Description
This cmdlet decrypts selected encrypted backups stored on tapes.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Medium | Specifies the tape that contains the encrypted backup that you want to decrypt. | Accepts the VBRTapeMedium[] object. To get this object, run the Get-VBRTapeMedium cmdlet. | True | Named | True (ByValue, |
Password | Specifies the password. Veeam Backup & Replication will use that password to decrypt the backups. | String[] | False | Named | True (ByPropertyName) |
DecryptionSet | Specifies the data decryption settings if the KMS Server was used for encryption. | Accepts the VBRDecryptionSet[] object. To get this object, run the New-VBRDecryptionSet cmdlet. |
|
|
|
PassThru | Defines that the command returns the output object to the Windows PowerShell console. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBREncryptedTapeMediumPassword
Examples
Decrypting Encrypted Backups on Tapes
This example shows how to decrypt encrypted backups stored on tapes.
$tape = Get-VBRTapeMedium -Name "00110001" Set-VBREncryptedTapeMediumPassword -Medium $tape -Password "SecurePassword" |
Perform the following steps:
- Run the Get-VBRTapeMedium cmdlet to get the tape. Specify the Name parameter value. Save the result to the $tape variable.
- Run the Set-VBREncryptedTapeMediumPassword cmdlet. Set the $tape variable as the Medium parameter value. Specify the Password parameter value.
Related Commands