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. Query builder reference for KVM virtual machines
NetBackup™ for KVM Administrator's Guide

Query builder reference for KVM virtual machines

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

Note: The advanced mode of the Query builder uses OData keywords and operators.

Table: Query builder options for KVM virtual machines describes the fields and options for creating credential rules with the Query builder.

 

Table: Query builder options for KVM virtual machines

Query Builder fields

Description

and

or

When you add two or more conditions, you can select a connector to join the rules.

Field

Select a parameter on which to build the rule.

See Table: Keywords in the Field list .

Operator

Select an operator. The available operators depend on the parameter that is selected for the Field.

See Table: Operators in the Operator list.

Value

Specifies a Value for the Field parameter.

The Value field can be a list of possible values or a manual entry, depending on the selections that are made in the other fields.

See Value.

 

Field (keywords)

Table: Keywords in the Field list describes the keywords that are available in the Field dropdown. The values for each keyword (in the Value field) are case-sensitive.

Note:

Use OData Field keywords are indicated for when you build queries for credential rules with the NetBackup APIs.

Table: Keywords in the Field list

Field keyword

OData field keyword

Description

description

description

The description of the virtual machine.

displayName

displayName

The virtual machine's display name.

kvmHostName

kvmHostName

The name of the KVM host.

powerState

powerState

The power state of the virtual machine.

title

title

The title from the metadata for the virtual machine.

uuid

uuid

The UUID of the virtual machine.

 

Operators

Table: Operators in the Operator list describes the operators available in the Operator list. The table also indicates whether the values for each keyword (in the Value field) are case-sensitive.

Table: Operators in the Operator list

Operator

OData operator

Description

Contains

contains

Matches the value in the Value field wherever that value occurs in the string. Values are case-sensitive.

For example: If the Value entry is 'dev', Contains matches strings such as '01dev', '01dev99', and 'devOP'. The name 'Development_machine' is not matched.

EndsWith

endswith

Matches the value in the Value field when it occurs at the end of a string.

For example: If the Value entry is 'dev', Ends with matches the string '01dev' but not '01dev99', 'devOP', or 'development_machine'.

Equal

equal

Matches only the value that is specified in the Value field. Values are case-sensitive.

For example: If the display name to search for is 'VMtest27', Equal matches the virtual machine name VMtest27. The names VMTest27 or vmtest27 or vmTEST27 are not matched.

Greater

greater

Matches any value that is greater than the specified Value, according to the UTF-8 collating sequence.

GreaterEqual

greaterEqual

Matches any value that is greater than or equal to the value in the Value field, according to the UTF-8 collating sequence.

In

in

Matches any of the specified values in the Value field.

For example: If the hosts in the Value field are 'kvm01','kvm02,'kvm03', In matches any KVM host that has one of those names. If the names of your KVM hosts are not identical to any of the specified values, no match occurs. A host named KVM01A is not a match.

Less

less

Matches any value that is less than the specified Value, according to the UTF-8 collating sequence.

LessEqual

lessEqual

Matches any value that is less than or equal to the specified Value, according to the UTF-8 collating sequence.

NotEqual

ne

Matches any value that is not equal to the value in the Value field.

StartsWith

startswith

Matches the value in the Value field when it occurs at the start of a string.

For example: If the Value entry is 'box', Starts with matches the string 'box_car' but not 'flatbox'.

Value

Table: Characters you can enter for Value describes the characters that can be entered in the Value field. The Field keyword determines case sensitivity.

Note:

The character string you enter in the Value field must be enclosed in single quotes.

Table: Characters you can enter for Value

Character types

String characters allowed

Alphanumerics

A to Z, a to z, 0 to 9, - (minus sign), and special characters.

Note:

Decimal numbers only.

Wildcards

* (asterisk) matches everything.

For example: '*prod*' matches the string 'prod' preceded or followed by any characters.

? (question mark) matches any single character.

For example: 'prod??' matches the string 'prod' followed by any two characters.

Escape character.

\ (backslash) escapes the wildcard or meta-character that follows it.

For example: To search for a string that contains an asterisk (such as test*), enter 'test\*'

Quotation marks

Note: The characters you enter in Value must be enclosed in single quotes.

To search for a string that contains quotation marks, escape each quote (\').

For example: To search for a string that includes single quotes (such as 'name'), enter '\'name\''

Feedback

Was this page helpful?
Previous

Configure a query to select KVM virtual machines for backup

Next

Use Advanced mode to create a query for virtual machine selection

Feedback

Was this page helpful?