What I want - I want to do Health check after backup to stay in backup window
I try to use Start-VBRBackupHealthCheck with no success
I have VBR-managed agents protected group
I run backup job and get backup
Then I run agents copy job and get another backup
Then I try to run Start-VBRBackupHealthCheck and it fails if copy job still enabled with 'Failed to start job [Backup Copy Agents] Error: Another job process already in progress.
'
Or if I disable job It success in seconds with no checking at all
my code:
Code: Select all
$j = Get-VBRJob | ? name -match 'Backup Copy Agents'
$b = $j.GetLastBackup()
Start-VBRBackupHealthCheck -Backup $b