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. Configure a VMware Intelligent Policy
  4. Using the Query Builder in Advanced Mode
NetBackup™ for VMware Administrator's Guide

Using the Query Builder in Advanced Mode

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:

VMware policies can also be configured from the NetBackup web UI. To do so, on the left navigation pane, click Protection > Policies, and then select a listed VMware policy to change it. Or click +Add, enter a Policy name, and select VMware from the Policy type drop-down list.

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

See Query Builder field reference.

To use the Query Builder in Advanced Mode

  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 Configuring automatic virtual machine selection.

  2. Click the Clients tab.
  3. Click Select automatically through VMware Intelligent Policy query.
  4. Beneath the Query Builder pane, click Advanced Mode.
  5. You can use the Query Builder drop-down menus to add query rules. You can also type in rules manually.

    Here are a few 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 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

Editing an existing query in Basic Mode

Next

AND vs. OR in queries

Feedback

Was this page helpful?