Solved

Veeam CLI command to globally enable encrytion


Userlevel 2

I’ve been searching and trying different commands to set the flag to “enable backup file encryption” within the VBR “Configuration Backup Settings”.

While I can see how to create the password with the API with the Add-VRBEncryptionKey shown below, I don’t see a command to set the flag above.

 Any help would be greatly appreciated...

icon

Best answer by Chris.Arceneaux 16 August 2021, 22:06

View original

3 comments

Userlevel 2

That was it!  Thank you for the very quick response.

Userlevel 6
Badge +5

The Set-VBRConfigurationBackupJob is what you’re looking for. More specifically, the EnableEncryption parameter.

Here’s a list of all PowerShell cmdlets working with the VBR Configuration Backup:

https://helpcenter.veeam.com/docs/backup/powershell/configuration_backup.html?ver=110

Userlevel 7
Badge +13

Powershell it’s a great swiss-kife, one of the last good things made by Microsoft...

Comment