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.

Note

To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameters values with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

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,
ByPropertyName)

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:

  1. Run the Get-VBRTapeMedium cmdlet to get the tape. Specify the Name parameter value. Save the result to the $tape variable.
  2. Run the Set-VBREncryptedTapeMediumPassword cmdlet. Set the $tape variable as the Medium parameter value. Specify the Password parameter value.

Related Commands