How to find out what VMs are being backed up in a job using the vRanger Console
In the vRanger console:
1. First get the actual backup job name
2. Run this cmdlet to get all the VMs:
get-jobtemplate -type backup | where {$_.JobName -eq "<Backup Job Name>"} | ForEach-Object {write $_.TargetVMIDs}
3. Run this cmdlet to get all the VMs that were excluded:
get-jobtemplate -type backup | where {$_.JobName -eq "<Backup Job Name>'"} | ForEach-Object {write $_.ExcludedVMs}
4. Manually compare the lists and remove any entries in Step 2 that appear in Step 3. The resultant set will give you the Inventory IDs of the VMs that are being backed up
NOTE: TargetVMIDs – ExcludedVMs = VMs that are being backed up in the job
5. Run this command to find out the VM names
get-inventoryentity -type virtualmachine | where {$_.UUID -eq "<UUIDs from Step 4>"} | ForEach-Object {write $_.Name}
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center