Veritas NetBackup™ for VMware Administrator's Guide
- Introduction
- Required tasks: overview
- Notes and prerequisites
- Configure NetBackup communication with VMware
- Adding NetBackup credentials for VMware
- Configure NetBackup policies for VMware
- VMware backup options
- Exclude Disks tab
- Configure a VMware Intelligent Policy
- Reduce the size of backups
- Back up virtual machines
- Use Accelerator to back up virtual machines
- Restore virtual machines
- Restoring the full VMware virtual machine
- Virtual Machine Recovery dialog boxes (restore to original location)
- Virtual Machine Recovery dialogs boxes (restore to alternate location)
- Restoring VMware virtual machine disks by using Backup, Archive, and Restore
- Restoring VMware virtual machine disks by using NetBackup commands
- Restoring individual VMware virtual machine files
- Browse and search virtual machines for restore
- Restore virtual machines with Instant Recovery
- Use NetBackup for vCloud Director
- Virtual machine recovery dialog boxes for vCloud Director
- Best practices and more information
- Troubleshooting
- Appendix A. NetBackup commands to back up and restore virtual machines
- Using NetBackup commands to create a VMware policy
- Appendix B. Configuring services for NFS on Windows
- About configuring services for NFS on Windows 2012 or 2016 (NetBackup for VMware)
- About configuring services for NFS on Windows 2008 and 2008 R2 (NetBackup for VMware)
- Appendix C. The Reuse VM selection query results option
- Appendix D. Backup of VMware raw devices (RDM)
Using the Query Builder in Advanced Mode
This topic applies to policy configuration for NetBackup for VMware. You can use the Query Builder to enter rules for the automatic selection of VMware virtual machines for backup.
The Query Builder's Advanced Mode provides more flexibility in crafting rules for virtual machine selection, including the use of parentheses for grouping.
To use the Query Builder in Advanced Mode
- Set up a VMware policy and specify a VMware backup host or backup media server.
For assistance, you can refer to the first few steps of the following procedure:
- Click the Clients tab.
- Click Select automatically through VMware Intelligent Policy query.
- Beneath the Query Builder pane, click Advanced Mode.
- You can use the Query Builder drop-down menus to add query rules. You can also type in rules manually.
Here are a few example queries:
VMFolder Contains "mango"
Datastore StartsWith "Acc" OR Datastore StartsWith "Prod"
vCenter Contains "ROS" AND ESXserver Equal "VM_test1" AND Powerstate Equal poweredOn
- 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.
- 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 OR NOT.
More information is available on the use of parentheses and on the order of precedence.