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 Microsoft SQL Server Administrator's Guide
  3. Managing SQL Server assets and their credentials
  4. About intelligent groups
  5. Query builder for intelligent groups reference
NetBackup™ for Microsoft SQL Server Administrator's Guide

Query builder for intelligent groups reference

You can use the Query builder to create rules to automatically add SQL Server instances to an intelligent group.

OData keywords are indicated for when you build queries for intelligent groups with the NetBackup APIs. The Preview feature displays the query string that contains OData keywords and operators. For example, the query to search for the host names that end with "domain.com" is: endswith(tolower(clientName), tolower('domain.com')).

Table: Query builder options for intelligent groups describes the fields and options for creating intelligent groups with the Query builder.

Table: Query builder options for intelligent groups

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

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.

 

Field (keywords)

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

Note:

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

Table: Keywords in the Field dropdown

Field keyword

OData field keyword

Description

Availability group ID

availabilityGroup/groupId

The ID of the availability group. Use the format: 01234567-89ab-0123-4567-89abcdef0123

Availability group name

agName

The name of the availability group.

Cluster name

clusterName

The name of the cluster that the SQL Server is configured in.

Cluster type

clusterType

The type of the cluster that the SQL Server is configured in.

Credential name

credentialName

The name of the NetBackup credential.

Database name

displayName

The name of the SQL Server database.

Database size (MB)

dbSize

The size of the SQL Server database. Enter a whole numeric value, in MB.

Edition

sqlEdition

The edition that is associated with the SQL Server version.

Host name

clientName

The name of the host. This name depends on the SQL Server environment, as follows:

  • For a standalone environment, the host name is the client name or the SQL Server name.

  • For availability groups, the host name is the replica name.

  • For a failover cluster instance, the host name is the instance cluster name.

Instance SP

sqlServicePack

The service pack of the SQL Server instance.

Instance cluster name

sqlClusterName

The name of the SQL Server cluster.

Instance name

instanceName

The name of the SQL Server instance.

Instance state

instanceState

The state of the SQL Server instance.

Microsoft SQL Server database state

dbState

The state of the SQL Server database as indicated by SQL Server.

Microsoft SQL Server host name

clientName

The name of the SQL Server host.

Microsoft SQL Server release

sqlRelease

The release version of SQL Server that is installed on the host.

Microsoft SQL Server version

sqlVersion

The version of SQL Server that is installed on the host.

NetBackup version

nbuVersion

The version of NetBackup that is installed on the host.

 

Operators

Table: Operators in the Operator list describes the operators available in the Operator list. The values for each keyword (in the Value field) are case-insensitive.

Table: Operators in the Operator list

Operator

OData operator

Description

Starts with

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

Ends with

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

Contains

contains

Matches the value in the Values field wherever that value occurs in the string.

For example: If the Value entry is "dev", Contains matches strings such as "01dev", "01dev99", "devOP", and "Development_machine".

Equal to

eq

Matches only the value that is specified in the Value field.

For example: If the host name to search for is "SQLtest27", Equal to matches the virtual machine names such as SQLTest27 or sqltest27 or sqlTEST27, and so forth. The name SQLtest28 is not matched.

Not equal

ne

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

Less than

lt

Applies only to the field Database size.

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

Less than or equal to

le

Applies only to the field Database size.

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

Greater than

gt

Applies only to the field Database size.

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

Greater than or equal to

ge

Applies only to the field Database size.

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

Feedback

Was this page helpful?
Previous

Intelligent group examples

Next

Use Backup now to back up a SQL Server asset

Feedback

Was this page helpful?