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. NetBackup™ for VMware Administrator's Guide
  3. Configuring a VMware Intelligent Policy
  4. Use Advanced mode to create a query for virtual machine selection
NetBackup™ for VMware Administrator's Guide

Use Advanced mode to create a query for virtual machine selection

You can use the Query builder to enter rules for the automatic selection of VMware virtual machines for backup.

The Query builder's Advanced mode provides more flexibility in crafting rules for virtual machine selection, including the use of parentheses for grouping.

Note:

In the NetBackup web UI, you must use OData keywords and OData operators in query rules:

See Query builder field reference.

To use Advanced mode to create a query for virtual machine selection

  1. Set up a VMware policy and specify a VMware backup host or backup media server.

    For assistance, you can refer to the first few steps of the following procedure:

    See Configure automatic virtual machine selection.

  2. Select the Clients tab.
  3. Select Select automatically through VMware intelligent policy query.
  4. Locate Query builder and select Advanced mode.
  5. You can use the Query builder menus to add query rules. You can also type in rules manually.

    Here are some example queries:

    VMFolder Contains "mango"

    Datastore StartsWith "Acc" OR Datastore StartsWith "Prod"

    vCenter Contains "ROS" AND ESXserver Equal "VM_test1" AND Powerstate Equal poweredOn

  6. To insert a rule between existing rules, place the cursor where you want the new rule to start and type it in.

    When you create a rule with the drown-down menus, it appears at the end of the query. You can cut and paste it into the proper location.

  7. To establish the proper order of evaluation in compound queries, use parentheses to group rules as needed. Compound queries contain two or more rules, joined by: and, and not, or, or not.

    See AND vs. OR in queries.

    See Order of operations in queries (precedence rules).

    See Parentheses in compound queries.

Feedback

Was this page helpful?
Previous

Edit an existing query in Basic mode

Next

AND vs. OR in queries

Feedback

Was this page helpful?