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
Query Builder field reference
You can use the Query Builder to enter rules for the automatic selection of virtual machines for backup.
Table: Query Builder drop-down options: Join, Field, Operator, Value describes the drop-down fields and options for creating rules in the Query Builder.
Table: Query Builder drop-down options: Join, Field, Operator, Value
Query Builder drop-down fields | Description |
|---|---|
Join | Selects a connector to join rules. For the first rule, choices are blank (none) or NOT. After you add a rule, the available connectors are AND, AND NOT, OR, OR NOT. |
Field | Selects a parameter on which to build the rule. See Table: For server type Hyper-V Standalone/Cluster: Keywords in the Field drop-down . |
Operator | Selects an operator. |
Value(s) | Specifies value(s) for the Field parameter. The value(s) you enter must be enclosed in single quotes or double quotes. You can specify multiple comma-separated values. |
Browse | Allows browsing for values, depending on the selections that are made in the other drop-down fields. |
Add | Adds the current drop-down selections to the Query pane as a new rule. |
Resets the query fields to the default values. |
The following tables describe the keywords available in the Field drop-down. The tables also indicate whether the values for each keyword (in the Values field) are case-sensitive.
Note that the Field keyword does not determine by itself the inclusion or exclusion of virtual machines. Selection of virtual machines depends on the rule you construct: the combination of Join, Field, Operator, and Value(s).
The available keywords depend on the Server Type that is selected:
For a description of the Hyper-V Standalone/Cluster keywords, see Table: For server type Hyper-V Standalone/Cluster: Keywords in the Field drop-down .
For a description of the System Center Virtual Machine Manager keywords, see Table: For server type System Center Virtual Machine Manager: Keywords in the Field drop-down .
Table: For server type Hyper-V Standalone/Cluster: Keywords in the Field drop-down
Field keyword | Data type | Description |
|---|---|---|
ConfigurationVersion | Numeric | The configuration version of the virtual machine. |
Displayname | Alphanumeric string | The virtual machine's display name. Values are case-sensitive. |
HypervServer | Alphanumeric string | The name of the Hyper-V server. Values are not case-sensitive. |
IsClustered | Boolean | TRUE if the virtual machine resides in a Hyper-V server that is in a cluster. |
Notes | Alphanumeric string | A note that was recorded about the virtual machine, in the virtual machine's Summary tab in Hyper-V Manager. Values are case-sensitive. |
Powerstate | Alphabetic | The state of the virtual machine. Values are |
Table: For server type System Center Virtual Machine Manager: Keywords in the Field drop-down
Field keyword | Data type | Description |
|---|---|---|
BackupEnabled | Boolean | TRUE if the BackupEnabled property is enabled in Integration Services. |
Cloud | Alphanumeric string | The name of the SCVMM cloud that the VM is a part of. Values are not case-sensitive. |
CloudVMRoleName | Alphanumeric string | The name of the VM role for the SCVMM cloud. Values are not case-sensitive. |
ComputerName | Alphanumeric string | The network host name of the VM. Values are not case-sensitive. |
CostCenter | Alphanumeric string | The name of the VM's cost center. Values are not case-sensitive. |
Description | Alphanumeric string | The VM's description in SCVMM. This field is similar to the VM's Notes field in Hyper-V. Values are case-sensitive. Note: If the VM's description field contains a newline character, the Query Builder's folder icon for browsing may not return the correct values. See Query rules for virtual machine Notes that contain a newline character. |
DRState | Alphanumeric string | The disaster recovery state of the VM. Values are Disabled, Enabled. |
Generation | Numeric string | The numeric Generation (or type) of the VM that the SCVMM server manages. |
HasPassThroughDisk | Boolean | TRUE if the VM has a pass-through disk configured. |
HasSharedStorage | Boolean | TRUE if the VM is in a cluster that has shared storage configured. |
HasVirtualFibreChannelAdapters | Boolean | TRUE if the VM has virtual Fibre Channel adapters. These adapters enable Hyper-V VMs to have direct access to Fibre Channel SAN array resources. |
HostGroupPath | Alphanumeric string | The complete host group path to the VM. Values are not case-sensitive. |
IsDREnabled | Boolean | TRUE if Microsoft Azure Site Recovery Provider (formerly Hyper-V Recovery Manager) manages the VM's disaster recovery. |
IsFaultTolerant | Boolean | TRUE if the VM is marked for fault tolerance (if it can run without interruption in the case of a host failure). |
IsHighlyAvailable | Boolean | TRUE if the virtual machine resides in a Hyper-V server that is in a CSV cluster. |
IsPrimaryVM | Boolean | TRUE if the VM is a primary VM that is configured to be replicated to a secondary VMM site. |
IsRecoveryVM | Boolean | TRUE if the VM is a replicated copy (of the primary VM) at a secondary Virtual Machine Manager (VMM) site. |
IsTestReplicaVM | Boolean | TRUE if the VM is a replicated copy that is designated in the Microsoft Azure Site Recovery Provider (formerly Hyper-V Recovery Manager) for failover test. Test failover is initiated on a replica VM to test the virtualized workload without interrupting the production site or ongoing replication. You can exclude such VMs from the backup by creating queries such as: IsTestReplicaVM Equal 'FALSE' |
IsUndergoingLiveMigration | Boolean | TRUE if the VM is in migration from one Hyper-V server to another by means of the Hyper-V live migration feature. |
Name | Alphanumeric string | The VM's display name in SCVMM. Values are case-sensitive. |
OperatingSystem | Alphanumeric string | The VM's guest operating system. Values are not case-sensitive. |
Owner | Alphanumeric string | The VM owner's name. Values are not case-sensitive. |
RecoveryPointObjective | Numeric | The recovery point objective (RPO) value for this VM. RPO is the maximum acceptable data loss as measured in time. In backup storage, RPO is the maximum age of the data that is required to resume normal operations if a failure occurs. For example, if the RPO is set to 30 minutes, then a backup of the system is required every 30 minutes. |
Tag | Alphanumeric string | The name of the tag. A tag is a string for logical grouping of VMs in NetBackup. Values are not case-sensitive. |
TotalSize | Numeric | The total size on disk (in bytes) of all the VM's VHDs. |
UserRole | Alphanumeric string | The user role the VM is a part of, such as Administrator, Fabric Administrator, or Tenant Administrator. Values are not case-sensitive. |
VirtualMachineState | Alphanumeric string | The power state of the virtual machine. Values are not case-sensitive. Hyper-V has many possible values for the VM state, such as PowerOff and Running. |
VMConfigurationVersion | Numeric | The configuration version of the virtual machine. Note the following:
|
VMHost | Alphanumeric string | The name of the Hyper-V host for this VM. Values are not case-sensitive. |
VMResource | Alphanumeric string | The resource for a highly available VM. Values are not case-sensitive. |
VMResourceGroup | Alphanumeric string | The resource group for a highly available VM. Values are not case-sensitive. |
Table: Operators in the Operator drop-down describes the operators available in the Operator drop-down.
Table: Operators in the Operator drop-down
Operator | Description |
|---|---|
AnyOf | Matches any of the specified values in the Value(s) field. For example: If the display names in the Value(s) field are " |
Contains | Matches the value in the Value(s) field wherever that value occurs in the string. For example: If the Value(s) entry is " |
EndsWith | Matches the value in the Value(s) field when it occurs at the end of a string. For example: If the Value(s) entry is " |
Equal | Matches only the value that is specified in the Value(s) field. For example: If the display name to search for is " |
Greater | Matches any value that is greater than the specified Value(s), according to the ASCII collating sequence. |
GreaterEqual | Matches any value that is greater than or equal to the specified Value(s), according to the ASCII collating sequence. |
IsSet | Determines whether a value is returned for the Field keyword. Use IsSet with another rule as a condition, to ensure that the query selects the appropriate virtual machines. Note that you do not make an entry under Value(s) for a rule that uses IsSet. See The IsSet operator in queries. See Effect of Primary VM identifier parameter on Selection column in Test Query results. |
Less | Matches any value that is less than the specified Value(s), according to the ASCII collating sequence. |
LessEqual | Matches any value that is less than or equal to the specified Value(s), according to the ASCII collating sequence. |
NotEqual | Matches any value that is not equal to the value in the Value(s) field. |
StartsWith | Matches the value in the Value(s) field when it occurs at the start of a string. For example: If the Value(s) entry is " |
Table: Characters you can enter for Value describes the characters that can be entered in the Value field. The Field keyword determines case sensitivity.
Note:
The character string you enter in the Value field must be enclosed in single quotes or double quotes.
Table: Characters you can enter for Value
Character types | String characters allowed |
|---|---|
Alphanumerics | A to Z, a to z, 0 to 9 (decimal), and the following special characters:
Note: If the policy's option is set to VM display name, only the following characters are supported in the virtual machine's display name: A to Z, a to z, 0 to 9, hyphen (-), period (.), underscore (_), plus sign (+), left and right parentheses (), spaces. |
Wildcards | * (asterisk) matches everything. For example: " ? (question mark) matches any single character. For example: " |
Escape character | \ (backslash) escapes the wildcard or meta-character that follows it. For example: To search for a string that contains an asterisk (such as test*), enter " |
Quotation marks | Note: The characters you enter in Value(s) must be enclosed in single or double quotes. To search for a string that contains quotation marks, either escape each quote (\") or enclose the entire string in the opposite type of quotes. For example: To search for a string that includes double quotes (such as |