Veritas NetBackup™ for Hyper-V Administrator's Guide
- Notes and prerequisites
- Configure NetBackup communication with Hyper-V
- Configure NetBackup policies for Hyper-V
- Backup options on the Hyper-V tab
- Hyper-V - Advanced Attributes
- Browse for Hyper-V virtual machines
- Configure Hyper-V Intelligent Policies
- NetBackup Hyper-V for SCVMM
- Windows Server failover cluster support
- Virtual machine maintenance after a restore
- Back up and restore Hyper-V
- Restoring individual files to a shared location on the virtual machine
- Use Accelerator to back up Hyper-V
- Best practices and more information
- NetBackup logs for Hyper-V and how to create them
- Errors during policy creation
- NetBackup status codes related to Hyper-V
- Appendix A. VSS backup method: Hyper-V online and offline backups
- Appendix B. Hyper-V pass-through disks
- Appendix C. NetBackup commands to back up and restore Hyper-V virtual machines
- Examples of nbrestorevm for restoring VMs to Hyper-V
Parentheses in compound queries
You can use the Query Builder to make precise queries containing as many rules as necessary to identify the appropriate virtual machines. In a query such as powerstate Equal "poweredOn", the result of the query is easy to predict: only the virtual machines that are turned on are included in the backup. But if several rules are combined with AND and OR, the result may not be obvious. This kind of query is called a compound query. Compound queries contain two or more rules, joined by AND, AND NOT, OR, or OR NOT.
The order in which the Query Builder evaluates compound rules affects the outcome of the query. Grouping the rules with parentheses can change the order of evaluation and thus the outcome of the query.
The examples in the following table demonstrate how the Query Builder evaluates compound queries with and without parentheses.
Only the Query Builder's Advanced Mode supports the use of parentheses.
Table: Examples of compound queries with and without parentheses
The following virtual machines are selected
HypervServer Equal "HV-serv1" OR IsClustered Equal TRUE AND powerstate Equal ON
All virtual machines in HV-serv1 (regardless of their power state), and any virtual machines that are turned on in a clustered environment.
To select only the virtual machines that are turned on both in the Hyper-V server and in clustered environments, use parentheses (see next example).
(HypervServer Equal "HV-serv1" OR IsClustered Equal TRUE) AND powerstate Equal ON
All the virtual machines that are turned on in HV-serv1 and in clustered environments.