-
- Expert
- Posts: 138
- Liked: 43 times
- Joined: Nov 02, 2019 6:19 pm
- Contact:
Ability to run a Health Check from Powershell
The change to decoupled Health Checks has been a right pain for us and I posted about it here - veeam-backup-replication-f2/confused-by ... 86604.html
The TLDR version is that we script all our B&R jobs as chained jobs so that we can make the best use of a limited window. This worked very well when the Health Check was part of the backup job but is now 'broken' as we have such limited control over when the Health Checks take place (being fixed at a set time). We are also getting failures where the Health Check overlaps with another job. My opinion is that, if Veeam were going to make the Health Check separate, they should have made it the same as any other job and had the same abilities to schedule it. The current solution seems half baked to me.
I assume at the moment that there are no ways to initiate a Health Check via Powershell, I certainly can't find any. Is this something that could be implemented?
The TLDR version is that we script all our B&R jobs as chained jobs so that we can make the best use of a limited window. This worked very well when the Health Check was part of the backup job but is now 'broken' as we have such limited control over when the Health Checks take place (being fixed at a set time). We are also getting failures where the Health Check overlaps with another job. My opinion is that, if Veeam were going to make the Health Check separate, they should have made it the same as any other job and had the same abilities to schedule it. The current solution seems half baked to me.
I assume at the moment that there are no ways to initiate a Health Check via Powershell, I certainly can't find any. Is this something that could be implemented?
-
- Product Manager
- Posts: 10107
- Liked: 2696 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Ability to run a Health Check from Powershell
Hello JPMS
No, it wasn't implemented yet. But the request has been placed by the responsible teams.
Unfortunately I cannot comment on when PowerShell support may be released.
Best,
Fabian
No, it wasn't implemented yet. But the request has been placed by the responsible teams.
Unfortunately I cannot comment on when PowerShell support may be released.
There is a reg key in v12.1 to prioritize the health check over the backup job. It will let the health check finish.We are also getting failures where the Health Check overlaps with another job.
Code: Select all
BackupHealthCheckPreventInterruption = 1
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Expert
- Posts: 138
- Liked: 43 times
- Joined: Nov 02, 2019 6:19 pm
- Contact:
Re: Ability to run a Health Check from Powershell
Thanks for the quick response.
With regards to the registry key, this will unfortunately not help as we have the opposite issue, jobs failing because Health Check is running, e.g. our SureBackup job...
6/9/2023 8:22:17 PM Error [MyServer]: Error: Item [MyServer.934cea6e-4e05-48ec-8668-445e9d2257eD2023-06-09T200515_1C7A.vbk] is locked by running session HealthCheck MyBackup VMs [Backup Health Check]
I will give some thought as to how we could restructure the order of our jobs to utilise that key. With BackupHealthCheckPreventInterruption = 1, what happens if a Backup Job tries to run? Does it wait for the Health Check to complete and run or does it fail the Backup Job and schedule a retry?
With regards to the registry key, this will unfortunately not help as we have the opposite issue, jobs failing because Health Check is running, e.g. our SureBackup job...
6/9/2023 8:22:17 PM Error [MyServer]: Error: Item [MyServer.934cea6e-4e05-48ec-8668-445e9d2257eD2023-06-09T200515_1C7A.vbk] is locked by running session HealthCheck MyBackup VMs [Backup Health Check]
I will give some thought as to how we could restructure the order of our jobs to utilise that key. With BackupHealthCheckPreventInterruption = 1, what happens if a Backup Job tries to run? Does it wait for the Health Check to complete and run or does it fail the Backup Job and schedule a retry?
-
- Expert
- Posts: 138
- Liked: 43 times
- Joined: Nov 02, 2019 6:19 pm
- Contact:
Re: Ability to run a Health Check from Powershell
I couldn't see anything in the release notes but can you confirm that there is still no Powershell support for Health Checks in v12.3?
-
- Product Manager
- Posts: 10107
- Liked: 2696 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Ability to run a Health Check from Powershell
Hi JPMS
No change in v12.3.
Best regards,
Fabian
No change in v12.3.
Best regards,
Fabian
Product Management Analyst @ Veeam Software
-
- Novice
- Posts: 7
- Liked: 5 times
- Joined: Jan 29, 2023 5:57 pm
- Contact:
-
- Expert
- Posts: 138
- Liked: 43 times
- Joined: Nov 02, 2019 6:19 pm
- Contact:
Re: Ability to run a Health Check from Powershell
Thanks @thatstheplace.
Haven't tried it yet but looks like a nice workaround. It's a lot more than a single line command but I'll take what I can get until Veeam address this!
Haven't tried it yet but looks like a nice workaround. It's a lot more than a single line command but I'll take what I can get until Veeam address this!
-
- Product Manager
- Posts: 10107
- Liked: 2696 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Ability to run a Health Check from Powershell
Thank you for sharing.
Best,
Fabian
Best,
Fabian
Product Management Analyst @ Veeam Software
Who is online
Users browsing this forum: No registered users and 8 guests