Skip to main content
Solved

Veeam CLI command to globally enable encrytion

  • August 16, 2021
  • 3 comments
  • 132 views

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...

Best answer by Chris.Arceneaux

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

3 comments

Chris.Arceneaux
Forum|alt.badge.img+5
  • Veeam MVP
  • 22 comments
  • Answer
  • August 16, 2021

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


  • Author
  • New Here
  • 1 comment
  • August 16, 2021

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


marcofabbri
Forum|alt.badge.img+12
  • On the path to Greatness
  • 994 comments
  • September 14, 2021

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