Example queries to select VMs for backup
This topic provides examples of the kinds of queries that you can create to automatically select KVM virtual machines for backup.
In the following example, the query selects KVM virtual machines with a host name that ends with the string domain.com. The query string with OData keywords and operators is: endswith(kvmHostName), 'domain.com')
Field | Operator | Value |
|---|---|---|
kvmHostName | Ends with | domain.com |
In the following example, the query selects a KVM virtual machine with the UUID 100faa79-1119-4c49-8f32-b4a165ee51d. The query string with OData keywords and operators is: uuid eq '100faa79-1119-4c49-8f32-b4a165ee51d6'
Field | Operator | Value |
|---|---|---|
uuid | Equal | 100faa79-1119-4c49-8f32-b4a165ee51d6 |