Skip to content

fix(vbrsessioninfo): fix issues in agent job session discovery#121

Merged
tigattack merged 3 commits intomainfrom
fix/agent_jobs
Jun 3, 2025
Merged

fix(vbrsessioninfo): fix issues in agent job session discovery#121
tigattack merged 3 commits intomainfrom
fix/agent_jobs

Conversation

@tigattack
Copy link
Owner

  • Resolves [BUG] Getting VBR session information Error #120 by passing the job ID in to the Get-VBRSessionInfo function and calling Veeam's CBackupSession's GetByJob method, then filtering for the last result. A bit janky, but hardly more than before.
    I'm unable to test this with tape jobs so hopefully it doesn't cause any issues ¯_(ツ)_/¯
  • Resolves invalid reference to non-existent $job variable.

Also improves error handling in Bootstrap.ps1:

  • Catch more issues
  • Stop logging and rename log file to include job name (if we got that far before failing) in all caught error scenarios.

tigattack added 2 commits June 4, 2025 00:32
…ssions

- Resolves #120 by passing the job ID in to the `Get-VBRSessionInfo` function and called Veeam's `CBackupSession`'s `GetByJob` method, then filtering for the last result. A bit janky, but hardly more than before.
- Reasolves invalid reference to non-existent `$job` variable.

I'm unable to test this with tape jobs so hopefully it doesn't cause any issues ¯\_(ツ)_/¯
- Catch more issues
- Stop logging and rename log file to include job name (if we got that far before failing) in all caught error scenarios.
@tigattack tigattack merged commit 90286ad into main Jun 3, 2025
7 checks passed
@tigattack tigattack deleted the fix/agent_jobs branch June 3, 2025 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Getting VBR session information Error

1 participant