Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back up job names - Help required #6

Open
bogski87 opened this issue Mar 11, 2021 · 0 comments
Open

Back up job names - Help required #6

bogski87 opened this issue Mar 11, 2021 · 0 comments

Comments

@bogski87
Copy link

Hi,

Firstly, nice script. We've been using it for some time now but my PowerShell foo has reached its limit.

I'd like to obtain the names of the individual back up jobs running if possible? I found this section in the script which I thought might do the trick but it doesn't seem to have made a difference.

$allJobsBk = @(Get-VBRJob | ? {$_.JobType -eq "Backup"})        # Gather Backup jobs
 $allJobsBkC = @(Get-VBRJob | ? {$_.JobType -eq "BackupSync"})   # Gather BackupCopy jobs
 $repList = @(Get-VBRJob | ?{$_.IsReplica})                      # Get Replica jobs

I'm not sure if i missed something else in the script or not, if I'm honest the script is fairly complex (compared to my own) - is what I want possible?

Also, I've noticed when the body is created ready for influxDB there doesn't seem to be any tags created. Is this correct?

Any help is much appreciated :)

Thanks,

Phil

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

No branches or pull requests

1 participant