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.
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/77eff7a0-a8da-46e5-84ca-519ef776b9a6.png)
These tags are assigned to my 4 test VMs:
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/67345c85-7f96-4ee6-9fc4-4bc596387514.png)
So: VM01 and VM03 (odd numbers) are located in DC A. VM02 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.
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/5eb57f2e-918e-4bbd-a210-a5076f2b9459.png)
As expected, when backup runs, VM01 and VM03 are selected:
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/470452ad-76b8-47b3-856c-eae6cbec97cc.png)
Next, I want to backup all Gold-Backup VMs in DC B and select these tags:
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/064b3b10-929c-4021-a30b-bc60b1ee73fa.png)
Objects shown in Job definition:
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/d575c0ba-91b1-4df2-a725-732b5274ca82.png)
Just VM02 has all tags assigned:
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/7ac72af5-9d5d-42f5-9d92-988ac1497e55.png)
Fine, works as expected! And now, backup all VMs in DC A and B:
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/a5c0b133-4803-46f0-8846-895c1bbf9cba.png)
Eventually here is a pitfall. Because now nothing will be backed up:
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/f4add9e3-2e5c-4ef3-b3fd-d5174d0c586e.png)
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 single tags as usually:
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/af3c58ec-7f2e-4180-b641-fe4bc9b8b5f5.png)
All VMs in both DCs are selected:
![](https://uploads-eu-west-1.insided.com/veeam-en/attachment/d425183d-c76c-483e-a988-8170d45a6e07.png)
Important: at the moment just AND combinations are supported