Hyper-V restore with CloudBerry Backup VM edition

Problem

CloudBerry VM edition allows the ability to backup your virtual machines under Hyper-V hosts as well as under ESXi hosts. But despite the fact that you can perform an automatic restore via CloudBerry directly on the ESXi host, it's still not possible for CloudBerry to do the same for Hyper-V guests. In the following topic we are going to guide you step by step how to perform the restoration yourself.

This guide is suitable for Hyper-V server 2012 and above. Moreover, you can perform the same for Windows 8/10 Professional/Enterprise with the Hyper-V role enabled on it. Can be switched on by the following: "Control Panel" -> "Programs and Features" -> "Turn Windows features on or off"

Suggestions and Resolutions

Naviate to the "Backup Storage" tab, select the guest achine that is needed to be retrieved, then Select a Hyper-V backup point you'd like to restore:

Select "Restore as Hyper-V machine":

Specify the directory where would you like the restored files to be located:

Once the restore plan is completed – you can navigate to the specivied above folder and find there the following

There is a bunch of files under the folder with the restored guest machine name:

Before the next steps make shure, that Hyper-V server you are going to use supports the configuration version of the restored virtual machine. For example, virtual machines with config versions 8.0, 8.1, 9.0 created on Hyper-V 2016 and 2019 are not supported by Hyper-V 2012 and earlier due to completely different config files format.

Those files that you can find in the restored folder are needed for further virtual machine import steps. Here you are.

Open Hyper-V manager:

Then, in a Hyper-V manager, select the needed node under which the VM should be imported (there is only one in our example below):

Hit right mouse button on the needed node and select "Import Virtual Machine…"

Specify the folder containing the virtual machine to import (the one where you have restored files):

On the next step you can select the virtual machine to import. Different checkpoints of the same guest machine may be listed also (if you have them created). If you select a certain checkpoint on this step – you won't be promted to select a folder for them on further stages. Otherwise, you have to do it or select an option to remove checkpoints:

On the next stage you will be promted either to register the VM, restore it or copy:

If you select an option "Restore the virtual machine" or "Copy the virtual machine", Hyper-V will ask you, where to store virtual machine files. By default, the configuration files and virtual disk files are stored in different locations. If you did not change Hyper-V host settings, you can find config in the following directory: "C:\ProgramData\Microsoft\Windows\Hyper-V", where subfolder "Virtual Machines" contains the configuration itself, and subfolder "Snapshots" contains chekpoint configs (checkpoint *.avhdx files are stored with virtual disks). If there are no subfolders in the folder you selected in wizard, it will be created automatically.

In some cases you may be asked, where Hyper-V can find checkpoints of the virtual machine you are going to import. If the checkpoint configuration files are missed, you may select to remove it. Otherwise, you can enter the folder path where you have your checkpoints:

To place restored files to it's default location folders must be selected in the following way:

The next step asks you where to find the hard disks for import. Select the folder with the restored disks:

Further stage tells, where it will be placed. The default disk files location is "C:\Users\Public\Documents\Hyper-V\Virtual hard disks". Note that disks and checkpoint *.avhdx files will be placed exactly to the folder you select.

After everything is set, the wizard checks settings and shows summary for you to review:

After you click "Finish", import will be started. Depending on it's type it can be very fast for "Register…" or take some time to copy all files for other types.


Contact Us

Tech questions: tech@cloudberrylab.com
Sales questions: sales@cloudberrylab.com