Skip to main content

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

  • December 10, 2021
  • 7 comments
  • 82 views

vNote42
Forum|alt.badge.img+12
  • On the path to Greatness
  • 1246 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

dips
Forum|alt.badge.img+7
  • On the path to Greatness
  • 823 comments
  • December 10, 2021

Thanks for the heads up! 


vNote42
Forum|alt.badge.img+12
  • Author
  • On the path to Greatness
  • 1246 comments
  • December 10, 2021

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


dips
Forum|alt.badge.img+7
  • On the path to Greatness
  • 823 comments
  • December 10, 2021

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


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

Definitely not a funny bug.


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9586 comments
  • December 10, 2021

Thanks for sharing.


MicoolPaul
Forum|alt.badge.img+23
  • 2425 comments
  • December 11, 2021

Ouch, did not know this! Thanks for sharing.


vNote42
Forum|alt.badge.img+12
  • Author
  • On the path to Greatness
  • 1246 comments
  • December 13, 2021

Ouch, did not know this! Thanks for sharing.

Veeam seems to be surprised too :joy: