In Veeam Backup and Replication Version 12 a global VM exclusion list was introduced. VMs added to this list are excluded from processing in all jobs.
1. Administer the Global VM Exclusion list via the GUI in VBR 12
Up to now the only way to get VMs into or out of this list was via the GUI.
In V12 you get there with “Hamburger menu” on the upper left corner --> VM Exclusions
Then this dialog appears, and you can administer the global exclusion list via the GUI.
2. Administer the Global VM Exclusion List and the Global Malware exclusion list via the GUI in VBR 12.1
With the coming version 12.1 there will be some changes.
First will there be an additional exclusion list. You have one “Global VM Exclusions” list and one “Global Malware Exclusions” list.
You get there with “Hamburger menu” on the upper left corner --> Global Exclusions --> select one of the two exclusions lists.
Then this dialog appears (it looks the same for both exclusions lists except the window title), and you can administer the global exclusion lists via the GUI.
The second new feature is that you can administer both exclusions lists via PowerShell commands. We will have a look how to achieve this…
3. Administer the Global VM Exclusion List via PowerShell in VBR 12.1
First you have to get one or more VM definitions with the commence Find-VBRViEntity and save the results in a variable.
Now you can add one or all VMs in the variable to the Global VM Exclusions list with the command Add-VBRVMExclusion. To add a specific VM user the index of the VM inside the variable – e.g. $VM[0] for Test-VM-1
PS D:\scripts\Powershell> Add-VBRVMExclusion -Entity $VM
Platform Note Name Id
-------- ---- ---- --
VMWare Test-VM-1 1234b5d4-fc65-fgk7-3r06-8420at860u83
You can list the content of the Global VM Exclusion List with the command Get-VBRVMExclusion. Write the results of this command to a variable to use it to remove VMs from the Global VM Exclusion list.
PS D:\scripts\Powershell> Get-VBRVMExclusion
Platform Note Name Id
-------- ---- ---- --
VMWare Test-VM-1 1234b5d4-fc65-fgk7-3r06-8420at860u83
VMWare Test-VM-2 471sff2h-7rc7-25z6-8328-38dch17k7419
Use the results of the former command to remove VMs from the Global VM Exclusions list.