Host-based backup of VMware vSphere VMs.
Post Reply
armin575
Lurker
Posts: 1
Liked: never
Joined: Aug 02, 2024 12:29 pm
Full Name: Armin Schnerch
Contact:

malware detection exlcusion VM Tags

Post by armin575 »

As i learned on the Veeam unplugged, it could be a good thing to set exclusions of many VMs before activating the malware protection globally and then remove partially some vms a day from the exclusion.
I am working a lot with Tags in Vmware and Veeam. So i thought to make a new Tag for the exclusion of malware detection. The Problem here is that i can only
exclude specific Vms but not the whole Tag. Do we have a workaroudn for that?
david.domask
Veeam Software
Posts: 2873
Liked: 660 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: malware detection exlcusion VM Tags

Post by david.domask »

Hi Armin, welcome to the forums.

You're correct, currently Global Exclusions doesn't allow you to pick a tag, but we can work around this with Powershell.

Code: Select all

$vmsToExclude = Find-VBRViEntity -Server $server -Tags | Where-Object {$_.Type -eq "Vm" -and $_.path -like "*[name of the tag without square brackets]*"}
Add-VBRVmExclusion -Entity $vmsToExclude
That will let you quickly populate the Global VM Exclusion list based on your tagging; there is no need to worry about duplicates, Add-VBRVmExclusion won't add already excluded VMs to the exclusion list and will just continue on normally past them. Once completed, you can remove said VMs from the Global Exclusions on the timeline that works best for you.

You can also set this on a per-job basis from either the UI within the exclusion settings or with Powershell which does allow using tags, but that would be on a per-job basis for both methods.
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: woifgaung and 3 guests