New in Veeam VBR v11: Combine vSphere Tags

New in Veeam VBR v11: Combine vSphere Tags

In Veeam Backup & Replication (VBR) there are a few ways to select VMs for backup. One of this is to use VMware vSphere tags. New in v11 is the possibility to combine vSphere tags for VM selection. I want to show how this works.

For that, I created two tag categories. One for Location and one for Backup. I defined datacenter A and B locations; and Gold, Silver and Bronze backup priority.

These tags are assigned to my 4 test VMs:

So: VM01 and VM03 (odd numbers) are located in DC AVM02 and VM04 (even numbers) are in DC B. VM01 and VM02 are defined for Gold-Backup, VM03 for Silver, VM04 for Bronze.

First, I select one tag for VM selection: DC A. This can be done either with single tag selection or with new combination of tags but just select one.

As expected, when backup runs, VM01 and VM03 are selected:

Next, I want to backup all Gold-Backup VMs in DC B and select these tags:

Objects shown in Job definition:

Just VM02 has all tags assigned:

Fine, works as expected! And now, backup all VMs in DC A and B:

Eventually here is a pitfall. Because now nothing will be backed up:

Simple because no VM can be in DC A and B simultaneously – at lease not with the definition of my tags. To backup all DC A and B VMs, select both tags as usually:

All VMs in both DCs are selected:

Notes

$NotTaggedVMs = @()
Get-VM | ForEach-Object {if((Get-TagAssignment $_) -eq $null) {$NotTaggedVMs += $_}}

Leave a Reply

Your email address will not be published. Required fields are marked *