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
Hyper-V examples of restore to original location
For restore to the original location, NetBackup 8.0 adds a new feature for VMs that were backed up with the WMI method: You can specify a new display name for the restored a VM.
nbrestorevm - vmhv - C VM_to_restore - O
The -O option overwrites the existing VM. This option is required if the VM already exists.
nbrestorevm.exe -vmhv -C vm1.acme.com -O -R \C:\vmadmin\renamefile2
The file renamefile2
specifies the new display name. The following example rename file changes the display name to vm6:
change /F/VMs/vm1/2D7C007E-90FB-44EC-ABB2-6733D42A51F5.VMRS to /F/VMs/vm1/2D7C007E-90FB-44EC-ABB2-6733D42A51F5.VMRS change /F/VMs/vm1/2D7C007E-90FB-44EC-ABB2-6733D42A51F5.vmcx to /F/VMs/vm1/2D7C007E-90FB-44EC-ABB2-6733D42A51F5.vmcx change /F/VMs/vm1/Virtual Hard Disks/vm1.vhdx to /F/VMs/vm1/Virtual Hard Disks/vm1.vhdx change vmname to vm6
Note: The paths in the rename file should be identical for both change and to. Only the last directive (change vmname to vm6) specifies the new display name, where vmname is a required literal entry, and to specifies the new name.
nbrestorevm - vmhv - C VM_to_restore - O -L progress_log_file
nbrestorevm -vmncf - C VM_to_restore - O
nbrestorevm - vmhv - C VM_to_restore - S master_server - O
The - S option identifies the server that made the backup.