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)
Configure automatic virtual machine selection
NetBackup can automatically select VMware virtual machines for backup based on the criteria that you enter. You specify the criteria (rules) in the Query Builder on the NetBackup policy Clients tab. You can set up rules to include certain virtual machines for backup, or to exclude virtual machines.
Note:
In the NetBackup web UI, you must use OData keywords and OData operators in query rules:
When the backup job runs, NetBackup creates a list of the virtual machines that currently meet the query rules and backs them up.
The following is the policy Clients tab with selected.
The Query Builder can operate in Basic mode or in Advanced mode.
To configure automatic virtual machine selection in Basic mode
- On the policy Attributes tab, select VMware for the policy type.
- On the policy VMware tab, select a VMware backup host.
Review the other options on the VMware tab.
- Make other policy selections as needed (for example, create a schedule).
- Click the Clients tab, and click Select automatically through VMware intelligent policy query.
If you selected virtual machines manually, those virtual machines are removed from the policy.
- To back up virtual machines in vCloud Director, click Enable Cloud Director integration.
Note:
Enable Cloud Director integration makes several vCloud Director keywords available in the policy Query Builder Field, for rule-based selection of virtual machines. If this option is not selected, NetBackup cannot use the vCloud keywords to locate virtual machines in vCloud Director, and the backup fails.
- To create a rule, make selections from the menus.
For the first rule, you can start with the Field list, depending on the type of rule. (For the first rule, the only selections available for the Join field are blank (none), or NOT.)
Then make a selection for Operator.
For the Value field: Click the folder icon to browse for values, enter the value manually, or in some cases use the Value drop-down. The characters you enter manually in the Value field must be enclosed in single quotes or double quotes. Note that browsing for values may take some time in large virtual environments.
- Click the Add to add the rule to the Query pane.
- Create more rules as needed.
- To see which virtual machines NetBackup currently selects based on your query, click Test query.
The Virtual machines in your current environment that match the rules for selection in the policy are labeled INCLUDED. Note however that the Test query option does not create the backup list for the policy. When the next backup runs from this policy, NetBackup rediscovers virtual machines and consults the query rules. At that time, NetBackup backs up the virtual machines that match the query rules.
The list of virtual machines is saved but the virtual machines are not displayed in the policy's Clients tab.
- You can specify how long NetBackup uses the latest query results as the backup list for future executions of the policy. Set the time period in Reuse VM selection query results for.
- To create queries manually instead of using the menus, click Advanced mode.