Set-VBREncryptedBackupPassword
Short Description
Decrypts imported encrypted backups.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
PasswordDecryption (Default)Set-VBREncryptedBackupPassword -Backup <VBRImportedEncryptedBackup> -Password <String[]> [<CommonParameters>]
-
KmsDecryptionSet-VBREncryptedBackupPassword -Backup <VBRImportedEncryptedBackup> -DecryptionSet <VBRDecryptionSet[]> [<CommonParameters>]
Detailed Description
This cmdlet decrypts a selected imported encrypted backup. After you decrypt an imported encrypted backup, you can use such backups for restore. The decrypted backups will be available in the array of backups returned by the Get-VBRBackupReturns backups. cmdlet.
To decrypt an imported encrypted backup, you will need to specify the password or passwords you used to encrypt the backups. If you changed the password one or several times while the backup chain was created, you must enter passwords in the following manner:
- If you decrypt a VBM file, you must specify the latest password that was used to encrypt files in the backup chain.
- If you decrypt a VBK file, you must specify the whole set of passwords that were used to encrypt files in the backup chain.
- [For a new Veeam Backup & Replication installation] When you run separate catalog jobs for tapes encrypted with the KMS solution and tapes encrypted with password-based keys.
You can use hints to recall the passwords you used to encrypt the backups. Run the Get-VBRImportedEncryptedBackupHint cmdlet to get the hints for the needed backup.
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 |
|---|---|---|---|---|---|
|
Backup |
Specifies the imported encrypted backup you want to decrypt.
Accepts the |
True |
Named |
True (ByValue) |
|
|
DecryptionSet |
Specifies the data decryption settings if the KMS Server was used for encryption.
Accepts the |
True |
Named |
False |
|
|
Password |
Specifies the password required for decrypting the backup. |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Decrypting Imported Encrypted Backup
This example shows how to decrypt an imported encrypted backup.
|
$encryptedbackup = Get-VBRImportedEncryptedBackup -Name "Atlanta SQL Server Backup" Get-VBRImportedEncryptedBackupHint -Backup $encryptedbackup Set-VBREncryptedBackupPassword -Backup $encryptedbackup -Password "123", "345" |
Perform the following steps:
- Run the
Get-VBRImportedEncryptedBackupcmdlet. Specify theNameparameter value. Save the result to the$encryptedbackupvariable. - Run the
Get-VBRImportedEncryptedBackupHintcmdlet. Set the$encryptedbackupvariable as theBackupparameter value. - Run the
Set-VBREncryptedBackupPasswordcmdlet. Set the$encryptedbackupvariable as theBackupparameter value. Specify thePasswordparameter value.
Related Commands