PowerShell script exchange
Post Reply
ShowMeYourSkil
Novice
Posts: 8
Liked: never
Joined: Jun 26, 2022 1:04 pm
Contact:

Powershell query for backups in retry

Post by ShowMeYourSkil »

Hello all,

do you know a way in Veeam 11 via Powershell to query which backup jobs are in a retry?
Unfortunately, I currently have the problem that I do not get with my Powershell query when a backup is in retry.

Best wishes! :D
david.domask
Veeam Software
Posts: 1226
Liked: 322 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Powershell query for backups in retry

Post by david.domask » 1 person likes this post

Hi @ShowMeYourSkil,

This is a property on Job Sessions from Get-VBRBackupSession, the property is called IsRetryMode.

Pass your Job to Get-VBRBackupSession and check that property. There is also WillBeRetried which indicates a session will be retried shortly, so you can write some code to parse these two properties of the CBackupSession objects. Hope it helps!
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests