Veritas NetBackup™ for Hyper-V Administrator's Guide
- Introduction
- 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
- Troubleshooting
- 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
The basics of a NetBackup query rule
For automatic virtual machine selection, NetBackup uses query rules to determine which Hyper-V virtual machines to select for backup. You create the rules in the Query Builder, on the Clients tab of the policy.
A query rule consists of the following:
A keyword, such as Displayname (many keywords are available).
For example: For automatic selection of the virtual machines with the display names that contain certain characters, you need the Displayname keyword in the rule.
An operator, such as Contains, StartsWith, or Equal.
The operator describes how NetBackup analyzes the keyword. For example: Displayname StartsWith tells NetBackup to look for the display names that start with particular characters.
Values for the keyword.
For the Displayname keyword, a value might be "prod". In that case, NetBackup looks for the virtual machines that have the display names that include the characters prod.
An optional joining element (AND, AND NOT, OR, OR NOT) to refine or expand the query.
The policy uses these elements to discover and select virtual machines for backup.
Table: Examples of rules contains the examples of rules.
Table: Examples of rules
Rule | Description |
---|---|
Displayname Contains "vm" | NetBackup selects the virtual machines that have the characters |
Displayname EndsWith "vm" | NetBackup selects the virtual machines that have the characters |
HypervServer AnyOf "hv1","hv2" | NetBackup selects the virtual machines that reside on Hyper-V servers |
Powerstate Equal poweredOn | NetBackup selects only the virtual machines that are currently turned on. |