VBR on-demand health check with PowerShell

  • 28 February 2023
  • 6 comments
  • 221 views

Userlevel 5
Badge +2

Hello,
Michael asked at the Veeam User Group meeting about starting health checks manually via PowerShell in V12.

Start-VBRBackupHealthCheck should work for that (I did not test).

 

Best regards,
Hannes


6 comments

Userlevel 7
Badge +8

Thanks, Hannes.

Just checked it and it works. 👍

 

Seems to be an undocumented function as it cannot be found in: 
Getting Started - Veeam Backup PowerShell Reference

 

It’s also flagged for internal use only:

PS C:\Users\my.user> help Start-VBRBackupHealthCheck

NAME
    Start-VBRBackupHealthCheck

ÜBERSICHT
    WARNING! This cmdlet is for internal use only.


SYNTAX
    Start-VBRBackupHealthCheck [-Backup] <CBackup> [[-Oib] <COib>] [-RunAsync] [<CommonParameters>]

 

 

 

 

Userlevel 5
Badge +2

correct. It’s not in the user guide, because it’s internal only :-)

I already asked to make it official

Userlevel 7
Badge +8

Thanks… Otherwise I would never ever have used it, of course… 😉

Good thing is, it returns the result within PS. So one might evaluate it for reporting purposes.

Userlevel 7
Badge +17

Fine, I looked for something like this, too. 😎👍🏼

Userlevel 7
Badge +12

Hey guys

 

We tested this command (Start-VBRBackupHealthCheck) internally. It doesn’t work for the new backup format in V12. The command launches an empty health check process. Backups are not tested, but the command reports a success. Please don’t use it :)

 

If you need to run a Health Check manually, you can set the schedule start time a few minutes from now. The scheduled health check works with the new backup format.

 

Best,

Fabian
 

 

Userlevel 7
Badge +17

Mhh 😕 will the command be fixed?

Comment