Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ for VMware Administrator's Guide
  3. Configure a VMware Intelligent Policy
  4. About selecting virtual machines by means of multiple policies
Veritas NetBackup™ for VMware Administrator's Guide

About selecting virtual machines by means of multiple policies

This topic applies to policy configuration for NetBackup for VMware. You can use the Query Builder to enter rules for the automatic selection of VMware virtual machines for backup.

If your virtual environment has many virtual machines with inconsistent naming conventions, you may need multiple policies working in tandem. It may be difficult to create a single policy that automatically selects all the virtual machines that you want to back up.

For this situation, configure several policies such that each policy backs up a portion of the environment. One policy backs up a particular set or group of virtual machines, such as those that have host names. A second policy backs up a different group of virtual machines that were not backed up by the first policy, and so forth. When all the policies have run, all the virtual machines are backed up.

The following table describes the policies that are designed to back up the virtual environment in three phases. Note that each policy relies on a different setting for the Primary VM identifier parameter.

Table: Three policies that back up virtual machines in phases

Policy

Query Builder rules

Backup result

First policy

Primary VM identifier parameter: VM hostname

VMHostName IsSet

This policy backs up all virtual machines that have a host name. Any virtual machines that do not have a host name are excluded from the backup.

Second policy

Primary VM identifier parameter: VM display name

NOT VMHostName IsSet

AND VMHasVDSName Equal 'TRUE'

This policy backs up all virtual machines that do not have a host name but that do have a valid display name. Any virtual machines that do not have a host name or a valid display name are excluded from the backup.

See NetBackup character restrictions for the Primary VM identifier.

Third policy

Primary VM identifier parameter: VM UUID

NOT VMHostName IsSet

AND NOT VMHasVDSName Equal 'TRUE'

This policy backs up the virtual machines that were not backed up by the first two policies. This policy selects the virtual machines that do not have a host name or a valid display name, but that do have a UUID.

More information is available on the Primary VM identifier parameter and its effect on virtual machine selection.

See Effect of Primary VM identifier parameter on Selection column in Test Query results.

More Information

The basics of a NetBackup query rule

Feedback

Was this page helpful?
Previous

The IsSet operator in queries

Next

Order of operations in queries (precedence rules)

Feedback

Was this page helpful?