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
Important notes on Hyper-V Intelligent Policy
The Hyper-V Intelligent Policy in NetBackup is a different approach to Hyper-V virtual machine selection in the policy. It represents a paradigm shift in the way you select virtual machines for backup. As with all major changes, the effective use of this feature requires forethought, preparation, and care.
Table: Important notes on automatic virtual machine selection!
Note! | Explanation |
---|---|
Create rules carefully.... | Instead of manually selecting virtual machines for backup, you create guidelines for automatic selection of virtual machines. The guidelines are called rules; you enter the rules in the policy's Query Builder. You make the rules, and NetBackup follows them. If the rules state: Back up all virtual machines with a host name that contains "prod", NetBackup does that. Any virtual machine that is added to the environment with a host name containing "prod" is automatically selected and backed up when the policy runs. Virtual machines with the names that do not contain "prod" are not backed up. To have other virtual machines automatically backed up, you must change the query rules (or create additional policies). |
Changes to the virtual environment can affect backup times. | If many virtual machines are temporarily added to your environment and happen to fall within the scope of the query rules, they are backed up. The backups can therefore run much longer than expected. |
Test the query rules. | Test the query rules ahead of time. The policy includes a Test Query function for that purpose. It's important to verify that your query operates as expected. Otherwise, the query may select too many or too few virtual machines. As an alternative, you can use the nbdiscover command to test a query. Refer to the NetBackup Commands Reference Guide. Note also: The policy's Primary VM identifier parameter can affect the automatic selection process. See Effect of Primary VM identifier parameter on Selection column in Test Query results. See Effect of Primary VM identifier parameter on VM Name column in Test query results. |
A query test does not create the backup list. NetBackup creates the backup list when the backup runs. | The automatic selection process is dynamic. Changes in the virtual environment may affect which virtual machines the query rules choose when the backup runs. Note: If virtual machine changes occur, the virtual machines that are selected for backup may not be identical to those listed in your query test results. |
The policy does not display a list of the virtual machines that are to be backed up. Use the Activity Monitor or OpsCenter. | If you select virtual machines manually (with the Browse for Virtual machines screen), the selected virtual machines are listed on the policy Clients tab. But when you use the Query Builder for automatic selection, the selected virtual machines are not listed on the Clients tab. For a list of the backed up virtual machines, use the NetBackup Activity Monitor or the OpsCenter web interface. |
When you save the policy, the query rules are not validated. | When you save a policy, policy validation does not consult the query rules and select virtual machines for backup. Because of the potential for changes in the virtual environment, virtual machine selection must wait until the backup runs. As a result, when you save the policy, NetBackup does not check the policy attributes against a backup list. If the query rules select the virtual machines that are incompatible with a policy attribute, policy validation cannot flag that fact. The incompatibility becomes apparent when NetBackup determines the backup list at the time of the backup. |