NetBackup™ for VMware Administrator's Guide
- Introduction
- Required tasks: overview
- Configuring RBAC roles for VMware administrators
- Notes and prerequisites
- VMware vSphere privileges
- Managing VMware servers
- About VMware discovery
- Add VMware servers
- Change resource limits for VMware resource types
- Configuring backup policies for VMware
- Backup options on the VMware tab
- Exclude disks tab
- Configuring a VMware Intelligent Policy
- About the Reuse VM selection query results option
- Use Accelerator to back up virtual machines
- Configuring protection plans for VMware
- Malware scan
- Instant access
- Instant rollback
- Continuous data protection
- Backing up virtual machines
- VM recovery
- VMware agentless restore
- Restoring Individual files and folders from VMware backups
- Using NetBackup to back up Cloud Director environments
- Recover VMware Cloud Director virtual machines
- Restore virtual machines with Instant Recovery
- Protecting VMs using hardware snapshots and replication
- Best practices and more information
- Troubleshooting VMware operations
- NetBackup logging for VMware
- Snapshot error encountered (status code 156)
- Appendix A. Configuring services for NFS on Windows
- About configuring services for NFS on Windows 2012 or 2016 (NetBackup for VMware)
- Appendix B. Backups of VMware raw devices (RDM)
Using the Query Builder in Advanced mode
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.
Note:
In the NetBackup web UI, you must use OData keywords and OData operators in query rules:
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 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.