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 KVM Administrator's Guide
  3. Protecting KVM virtual machines
  4. Configure a query to select KVM virtual machines for backup
  5. Use Advanced mode to create a query for virtual machine selection
NetBackup™ for KVM Administrator's Guide

Use Advanced mode to create a query for virtual machine selection

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 reference for KVM virtual machines.

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

  1. Create a KVM policy.
  2. Select the Backup selections tab.
  3. Locate Query builder and select Advanced mode.
  4. You can use the Query builder menus to add query rules. You can also type in rules manually.

    Here are some example queries:

    startswith(displayName, 'vm3') and powerState eq 'Shut Off'

    contains(kvmHostName, 'hostab')

  5. 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.

  6. 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.

Feedback

Was this page helpful?
Previous

Query builder reference for KVM virtual machines

Next

Example queries to select VMs for backup

Feedback

Was this page helpful?