NetBackup™ for Hyper-V Administrator's Guide
- Introduction
- Notes and prerequisites
- NetBackup for Hyper-V prerequisites
- NetBackup for Hyper-V notes and restrictions
- NetBackup character restrictions for Hyper-V virtual machine display names
- NetBackup character restrictions for vhd or vhdx names and the VM path when the Enable file recovery from VM backup option is used
- Notes on Linux virtual machines
- Configure NetBackup communication with Hyper-V
- Configure NetBackup policies for Hyper-V
- Creating a Hyper-V policy
- Limit jobs per policy on the Attributes tab (for Hyper-V)
- Virtual machine host names and display names should be unique if VMs are selected manually in the policy
- Backup options on the Hyper-V tab
- Hyper-V - Advanced attributes
- Provider type configuration parameter (VSS)
- Snapshot attribute configuration parameter (VSS)
- Virtual disk selection parameter (WMI)
- Existing snapshot handling parameter (WMI)
- Consistency level parameter (WMI)
- About the exclude disk options for virtual disk selection
- Virtual disk selection options: an example to avoid
- Restoring data from the backups that excluded the boot disk or data disks
- Browse for Hyper-V virtual machines
- Prerequisites for alternate client backup of a virtual machine (VSS)
- Configure an alternate client backup of virtual machines
- Requirements for a NetBackup client inside the virtual machine
- Configure Hyper-V Intelligent Policies
- About Hyper-V Intelligent Policy (automatic selection of virtual machines for backup)
- The basics of a NetBackup query rule
- Important notes on Hyper-V Intelligent Policy
- NetBackup requirements for Hyper-V Intelligent Policy
- Setting up Hyper-V Intelligent Policy: Task overview
- Options for selecting Hyper-V virtual machines
- Creating a Hyper-V policy for automatic virtual machine selection
- Edit or remove a query in Basic mode
- Using the Query Builder in Advanced mode
- AND vs. OR in queries
- Examples for the NetBackup Query Builder
- The IsSet operator in queries
- About selecting virtual machines by means of multiple policies
- Order of operations in queries (precedence rules)
- Parentheses in compound queries
- Query rules for virtual machine Notes that contain a newline character
- Query Builder field reference
- Test Query screen for Hyper-V
- Test Query: Failed virtual machines
- Effect of Primary VM identifier parameter on Selection column in Test Query results
- Effect of Primary VM identifier parameter on VM Name column in Test query results
- Restoring a VM that was backed up with a Hyper-V Intelligent Policy and that has a pass-through disk
- NetBackup Hyper-V for SCVMM
- Windows Server failover cluster support
- Back up and restore Hyper-V
- Backing up Hyper-V virtual machines
- WMI backup method: State of the virtual machine before and after restore
- Notes on individual file restore
- Notes on full virtual machine restore
- About restoring individual files
- Restoring individual Hyper-V files to a host that has a NetBackup client
- Restore options for restore of Hyper-V individual files (NetBackup web UI)
- Restoring individual Hyper-V files to a shared location on the virtual machine
- Restoring the full Hyper-V virtual machine
- Restore Options
- About restoring common files
- The BAR interface may list Hyper-V snapshot files when you browse to restore Hyper-V VM files
- Use Accelerator to back up Hyper-V
- About the NetBackup Accelerator for virtual machines
- Accelerator: full vs. incremental schedules
- How the NetBackup Accelerator works with virtual machines
- Accelerator notes and requirements for virtual machines
- Accelerator forced rescan for virtual machines (schedule attribute)
- Accelerator requires the OptimizedImage attribute
- Accelerator backups and the NetBackup catalog
- Accelerator messages in the backup job details log
- NetBackup logs for Accelerator with virtual machines
- About reporting the amount of Accelerator backup data that was transferred over the network
- Replacing the Accelerator image size with the network-transferred data in NetBackup command output
- 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
- Backup job hangs for multiple virtual machines
- Viewing or resizing Windows NTFS shadow storage
- The Hyper-V integration component is not installed
- LDM volumes and status code 1
- Hyper-V snapshots (avhd or avhdx files) and status code 1
- When backing up the virtual machines that reside on the same CSV, Windows warning 1584 can be ignored
- Problems with alternate client backup
- Restored virtual machine fails to start
- Problem with a restart of a restored virtual machine: Why did the computer shut down unexpectedly?
- Problems with restore of individual files
- Problems with restore of the full virtual machine
- Increasing the WMI create disk time-out value
- Linux VMs and persistent device naming
- Appendix A. VSS backup method: Hyper-V online and offline backups
- Appendix B. Hyper-V pass-through disks
- About Hyper-V pass-through disks with NetBackup
- Configurations for backing up pass-through disks
- Requirements for backing up Hyper-V pass-through disks
- Restrictions for Hyper-V pass-through disks
- Configuring a local snapshot backup of Hyper-V pass-through disks
- About alternate client backup of pass-through disks
- Configuring an alternate client backup of Hyper-V pass-through disks
- Important note on VSS and disk arrays
- Appendix C. NetBackup commands to back up and restore Hyper-V virtual machines
- Using NetBackup commands to create a Hyper-V policy
- Using NetBackup commands to create a Hyper-V Intelligent Policy
- Notes on Hyper-V policy attributes when you use the NetBackup commands
- The bpplinfo options for Hyper-V policies
- Examples of nbrestorevm for restoring VMs to Hyper-V
- The nbrestorevm -R rename file for Hyper-V
- Notes on troubleshooting the nbrestorevm command for Hyper-V
- Logs for troubleshooting the nbrestorevm command
Examples for the NetBackup Query Builder
The following table provides example query rules.
To use the Query Builder, you must click on the Client tab.
Another topic is available on the difference between AND and OR in a query.
Since the available Query Builder keywords depend on the Server Type that is selected on the policy Clients tab, the following examples are in two groups:
Table: Query Builder examples for server type Hyper-V Standalone/Cluster provides examples for server type Hyper-V Standalone/Cluster.
Table: Query Builder examples for server type System Center Virtual Machine Manager provides examples for server type System Center Virtual Machine Manager.
Table: Query Builder examples for server type Hyper-V Standalone/Cluster
Example query | Query result when backup job runs |
|---|---|
No query rules specified (Query pane is empty) | All virtual machines are added to the backup list. Exceptions are those that do not have a host name, or that have invalid characters in the display name. See Effect of Primary VM identifier parameter on Selection column in Test Query results. |
Displayname Contains "prod" | All virtual machines with the display names that contain the string "prod" are added to the backup list. See Effect of Primary VM identifier parameter on Selection column in Test Query results. |
Displayname AnyOf "grayfox7","grayfox9" | The virtual machines named "grayfox7"and "grayfox9" are added to the backup list. Note that each value must be enclosed in its own quotes, with a comma in between. |
powerstate Equal "poweredOn" | Any virtual machine that is turned on is added to the backup list. |
powerstate Equal "poweredOn" AND HypervServer Equal "HV_serv1" | Any virtual machine that is turned on and resides on Hyper-V server |
IsClustered Equal TRUE | Any virtual machine that is in a clustered Hyper-V server is added to the backup list. |
Displayname Contains "pre-prod" AND IsClustered Equal FALSE | Any virtual machine with a display name containing "pre-prod" and that is not in a clustered Hyper-V server is added to the backup list. |
IsClustered Equal TRUE AND Notes Contains "pre-prod" | Adds to the backup list any virtual machine in a clustered Hyper-V server if the virtual machine has "pre-prod" in its Notes field. |
Displayname StartsWith "prod" OR Notes Contains "prod" | Adds to the backup list any virtual machine with a display name starting with "prod" or with Notes that contain "prod." |
ConfigurationVersion Greater "5" | Adds to the backup list any virtual machine that has a VM configuration version greater than 5. |
Table: Query Builder examples for server type System Center Virtual Machine Manager
Example query | Query result when backup job runs |
|---|---|
Name StartsWith "prod" | Adds to the backup list any VMs that have a display name that starts with "prod". Note: For VMs that reside under SCVMM, a Hyper-V Intelligent policy can back up VMs by their host name even if they are powered off. In this example: even if the policy's Primary VM identifier is set to VM hostname, VMs are added to the backup list whether they are powered on or powered off. |
ComputerName Contains "VM" | Adds to the backup list any VMs that have a network host name that contains "VM". See the note in this table for the example Name StartsWith "prod". |
VMHost AnyOf "hv1","hv2" AND Description Contains "pre-prod" | Adds to the backup list any VMs that reside on Hyper-V servers "hv1" or "hv2" if the VM has "pre-prod" in its Description field. The SCVMM Description field is similar to the VM's Notes field in Hyper-V. |
Generation Equal "2" | Adds to the backup list any VMs of Generation 2. |
IsUndergoingLiveMigration Equal FALSE | Adds to the backup list any VM that is not in live migration. |
VirtualMachineState Equal "Running" | Adds to the backup list any VM that is running. |
Cloud Contains "cloud9" AND HasSharedStorage Equal TRUE | Adds to the backup list any VM that meets the following: the VM is part of an SCVMM cloud that contains cloud9 in its name, if the VM is in a cluster that has shared storage. |
IsHighlyAvailable Equal TRUE AND IsFaultTolerant Equal FALSE | Adds to the backup list any VM that resides in a CSV cluster if the VM is not marked for fault tolerance. |
VMConfigurationVersion Greater "5" | Adds to the backup list any virtual machine that has a VM configuration version greater than 5. |
Click to see the query rule in Advanced Mode. Only Advanced Mode supports the use of parentheses for grouping sets of rules.