PowerShell script exchange
Post Reply
mortenr
Novice
Posts: 3
Liked: never
Joined: Jan 09, 2023 2:53 pm
Full Name: Morten Bonnerup Rasmussen
Contact:

Feature request: Support VMware tags in Get-VBRJobObject

Post by mortenr »

Currently, New-VBRSureBackupVM requires CObjectInJob object input generated from Get-VBRJobObject.
And Get-VBRJobObject generates objects based on job object returned by Get-VBRJob.

But if job VM list is based on VMware tags, only the tags are returned by Get-VBRJobObject, not the VMs covered by the tags.
This in turn prevents creation of VM objects using New-VBRSureBackupVM, which has major implications, including being effectively unable to schedule SureBackup jobs.

Either Get-VBRJobObject should support returning VMs covered by a tag (by default or e.g if switch is set) or a new function introduced (Get-VBRJobObjectByTag) to provide a secondary means to create CObjectsInJobs objects.
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 669 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Feature request: Support VMware tags in Get-VBRJobObject

Post by oleg.feoktistov » 1 person likes this post

Hi Morten,

That would solve problem only for tags and would mean that we also need to do the same for other entities that could contain VMs. The universal approach we decided to incomporate is to actually add a new entry point for New-VBRSureBackupVM cmdlet. That is, restore points. Surebackup application group requires entities to have existing backups anyway, so we thought why not add them by restore points directly.

By the way, it's coming in v12.

Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests