Veritas 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 from the Policy Configuration Wizard
- Creating a Hyper-V policy from the NetBackup Policies utility
- 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)
- Configuring 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
- Editing 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
- About virtual machines on Windows 2008, 2012, and 2016 failover clusters
- Notes on CSV backup and restore
- Creating a policy for virtual machines in a cluster
- Location of the restored virtual machine in a cluster
- Virtual machine maintenance after a restore
- Hyper-V restore may fail if the VM was created on a CSV and the CSV is a reparse point on the destination drive
- 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 files to a host that has a NetBackup client
- Restore Marked Files dialog for restore of individual files
- Restoring individual files to a shared location on the virtual machine
- Restoring the full Hyper-V virtual machine
- Restore Marked Files dialog for restore of the Hyper-V virtual machine
- 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
- Unable to log in to the NetBackup Administration Console
- 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
- Unable to change virtual disk settings for a VM after restore if the VM had user checkpoints during a backup that used the WMI method
- 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
- The bpplinfo options for Hyper-V policies
- bpplinclude options for modifying query rules in 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
The bpplinfo options for Hyper-V policies
Table: The bpplinfo options for Hyper-V describes the options that are available on the NetBackup bpplinfo command.
Table: The bpplinfo options for Hyper-V
Option | Backup method | Values | Required? | Navigation in policy editor of NetBackup Administration Console |
|---|---|---|---|---|
-use_virtual_machine | WMI, VSS | 2 | Y | |
-hyperv_server | WMI, VSS | The name of the Hyper-V server | Y | Clients tab > Hyper-V server |
-application_discovery | WMI, VSS | 0 disabled, 1 enabled | N (only for automatic selection of VMs through a query rule) | Clients tab > Select automatically through Hyper-V Intelligent Policy query |
-blkincr | WMI | For block-level incremental backup 0 disabled, 1 enabled | N (required for Accelerator) | Hyper-V tab |
-use_accelerator | WMI | 0 disabled, 1 enabled | N | Hyper-V tab |
-snapshot_method | WMI, VSS | HV (for WMI) Hyper-V_v2 (for VSS) | Y | Hyper-V tab |
-offhost_backup | VSS | 0 No off-host backup (default) 1 Use off-host backup method (for alternate client) | N | Attributes tab > Perform off-host backup |
-use_alt_client | VSS | 0 No alternate client 1 Use an alternate client | Y (with -offhost_backup option) | Attributes tab > Perform off-host backup > Use |
alt_client_name | VSS | The name of the alternate client | Y (with use_alt_client) | Attributes tab > Perform off-host backup > Machine |
snapshot_method_args | WMI, VSS | keyword=value, keyword=value,... | N |
Table: Keywords and values for snapshot_method_args describes the keywords for -snapshot_method_args.
Table: Keywords and values for snapshot_method_args
Keyword | Backup method | Values | Navigation in policy editor of NetBackup Administration Console |
|---|---|---|---|
Virtual_machine_ backup= | WMI, VSS | 1 Disable file-level recovery 2 Enable file-level recovery | Hyper-V tab > Enable file recovery from VM backup |
nameuse= | WMI, VSS | 0 Use VM host name to identify backup image 1 Use VM display name to identify backup image 2 Use VM GUID to identify backup image | Hyper-V tab > Primary VM identifier |
allow_offline_ backup= | VSS | 0 Do not allow offline backup of non-VSS virtual machines 1 Allow offline backup of non-VSS virtual machines | Hyper-V tab > Enable offline backup of non-VSS VMs |
csv_timeout= | VSS | Determines how many minutes the backup job waits, in case another node in the cluster backs up the same shared volume at the same time. The default is 180 (wait for 3 hours). A wait of 3 hours is recommended if you have multiple virtual machines on one CSV. The Windows 2008 R2 cluster node owns the CSV for the entire duration of the backup. If you do not want NetBackup to wait for another backup to release the shared volume, set the value to 0. If at the same time another node in the cluster backs up a shared volume that this backup requires, the backup fails with status 156. Note: On Windows server 2012, cluster nodes can back up the same CSV simultaneously. As a result, NetBackup does not use this option if the cluster is on Windows 2012. | Hyper-V tab > Cluster shared volumes timeout |
prov_type= | VSS | 0 Automatic selection of provider. Allows VSS to use the best possible provider for the snapshot. 1 Use system provider 2 Use software provider 3 Use hardware array provider | Hyper-V tab > Advanced > Provider Type |
snap_attr= | VSS | 0 (default) 1 Differential. Use copy-on-write snapshot method. 2 Plex. Use clone or mirror snapshot method. | Hyper-V tab > Advanced > Snapshot Attribute |
file_system_ optimization= | WMI | 0 Disable file system optimization 1 Enable file system optimization | File system optimization is enabled if either or both of the following are selected: Hyper-V tab > Exclude deleted blocks Hyper-V tab > Exclude swap and paging files |
exclude_swap= | WMI | Reduces the size of the backup image by excluding the data in the guest OS system paging file (Windows) or the swap file (Linux). 0 Disable 1 Enable | Hyper-V tab |
snapact= | WMI | 3 Abort if NetBackup snapshots exist | Hyper-V tab > Advanced > Existing snapshot handling |
drive_selection= | WMI | 0 Include all disks 1 Exclude boot disk 2 Exclude data disks | Hyper-V tab > Advanced > Virtual disk selection |
hv_snapshot_ consistency_level= | WMI | Determines whether the VM's file system data is consistent (quiesced) before the backup starts. 0 Application Consistent Then Crash Consistent 1 Application Consistent 2 Crash Consistent | Hyper-V tab > Advanced > Consistency level |