[Quicktip] Take care when using PowerShell cmdlet Remove-VBRSureBackupJob!


Userlevel 7
Badge +12
  • Veeam Legend, Veeam Vanguard
  • 1234 comments

Yesterday I found a strange behavior in the Veeam PowerShell cmdlet Remove-VBRSureBackupJob. What happens: when you use this cmdlet to remove a certain SureBackup-Job using the parameter -Job, ALL SureBackup-Jobs will be deleted!. In my environment version 11.0.0.837 P20210525 was used. It seems the be a bug. 

[update] In the meantime Veeam confirmed that it is a bug. Also in v11a!

https://forums.veeam.com/powershell-f26/remove-vbrsurebackupjob-deletes-all-surebackup-jobs-t78189.html

So when you test or plan to using scripted SureBackups, do not use Remove-VBRSureBackupJob currently!


7 comments

Userlevel 7
Badge +3

Thanks for the heads up! 

Userlevel 7
Badge +12

You are welcome! I hope you did not run into the issue!

Userlevel 7
Badge +3

Luckily, we don’t have any SureBackup jobs to delete at the moment so all good at the moment. 

Userlevel 7
Badge +7

Definitely not a funny bug.

Userlevel 7
Badge +15

Thanks for sharing.

Userlevel 7
Badge +14

Ouch, did not know this! Thanks for sharing.

Userlevel 7
Badge +12

Ouch, did not know this! Thanks for sharing.

Veeam seems to be surprised too :joy:

Comment