Hyper-V Agent

The UltraBac Hyper-V Agent provides users with the ability to back up virtual machines without installing any agents on those virtual machines. It also allows users to back up from one central location.

 

NOTE:  Only Hyper-V versions Windows Server 2008 R2 and later are supported.

 

NOTE:  The Hyper-V Agent for Windows Server 2012 R2 and older can do full backups of standalone servers or Hyper-V clusters. From Windows Server 2016 and newer the agent can do either full or incremental backups of the virtual machine (VM) disk.

 

Hyper-V Agent Set Creation

  1. Launch the Backup wizard by selecting the Backup tab, and clicking "New."

  2. Select the "Hyper-V Agent" and click "Next."

  3. Enter the name of the Hyper-V Host server.

 

ub_agents_hyperv_options.jpg

ub_agents_hyperv_optionsb.jpg

Fig. 1 - Hyper-V Backup Options.

 

NOTE:  Backup user must have administrative privileges on the Hyper-V server.

 

  1. Select how you would like UltraBac to enumerate the Virtual Machines (VM's):

 

  1. Enter the name you wish to assign to the UltraBac set.

 

ub_agents_hyperv_setname.jpg

Fig. 2 - New Hyper-V backup set description.

 

  1. Select the VM(s) you want to back up.

 

ub_agents_hyperv_enumerated.jpg

Fig. 3 - Enumerated Hyper-V Agent backup set.

 

  1. Click "Action"/"Save Backup Set."

 

NOTE:  All backups must be saved to a local drive or a UNC share and the Hyper-V server must be able to access the share.

 

NOTE:  Microsoft has conditions that must be met for the VSS backup of the guest VM to work:

  • Backup (volume snapshot) Integration Service is installed and running in the child VM. The service name is "Hyper-V Volume Shadow Copy Requestor".
  • The child VM must be in the running state.
  • The Snapshot File Location for the VM is set to be the same volume in the host operating system as the VHD files for the VM.
  • All volumes in the child VM are basic disks and there are no dynamic disks.
  • All disks in the child VM must use a file system that supports snapshots (for example, NTFS).

 

Please see http://msdn.microsoft.com/en-us/library/dd405549(v=vs.85).aspx for more information.

Restoring a Hyper-V Backup

  1. Launch the Restore Wizard by selecting the Restore tab, and selecting the index source.

 

ub_agents_hyperv_restoreindex.jpg

Fig. 4 - Restore Backup from Media Index.

 

  1. Select and load the index for restore.

  2. A window will prompt whether to restore to a different machine. Choose “No” to restore back to the original machine, or “Yes” to restore to a different machine.

 

ub_agents_hyperv_restoretodiffserver.jpg

Fig. 5 - Restore destination prompt.

 

  1. Select the VM disks for restore.

  2. Click "Action"/"Restore This Backup."

 

ub_agents_hyperv_restoreoptions.jpg

Fig. 6 - Hyper-V Restore Options.

 

  1. Select the location you want to restore to. When restoring multiple VMs it is recommended you select the option to create sub-folders.

 

ub_agents_hyperv_restorelocation.jpg

Fig. 7 - Restore Location.

 

NOTE:  The restore must be back to a local share or UNC share.

 

  1. Choose the format of the disk that you want to restore to:

 

ub_agents_hyperv_restorediskformat.jpg

Fig. 8 - Disk Format.

 

  1. Choose the disk type you want to restore to:

 

ub_agents_hyperv_restoredisktype.jpg

Fig. 9 - Disk Type.

 

  1. Click “Next” and start the restore.

Restoring Individual Files from a Hyper-V Backup

  1. Launch the Restore Wizard by selecting the Restore tab, and selecting the index source.

 

ub_agents_hyperv_restoreindex.jpg

Fig. 10 - Restore Backup from Media Index.

 

  1. Select and load the index for restore.

  2. A window will prompt whether to restore to a different machine. Choose “No” to restore back to the original machine, or “Yes” to restore to a different machine.

 

ub_agents_hyperv_restoretodiffserver.jpg

Fig. 11 - Restore destination prompt.

 

  1. Select the VM disks for restore.

  2. Click "Action"/"Restore This Backup."

  3. Choose the option for “File Restore.”

 

ub_agents_hyperv_restorefile.jpg

Fig. 12 - File Restore.

 

  1. Select the following options:

 

  1. Click the "Mount" button. This will mount the selected volume (VM disk) as a drive letter to the restore computer. From Windows Explorer on the restore computer, the files you want to restore can be drag and dropped from the mounted volume.

 

NOTE:  The VM disk will be assigned the highest drive letter available (i.e. z:\).

 

  1. Once complete, click the "Unmount All" button to unmount the VM Disk.

 

NOTE:  If the set or UltraBac is closed before the backup is unmounted, simply launch UltraBac Management Console and click on “Unmount All Volumes” located at “Tools”/“UBDR.” This will unmount any UltraBac mounted Image SFR, Hyper-V, or vSphere Agent backups. Alternatively, follow the same steps required to mount a backup until the "Unmount All" option button is visible.