Back up virtual machines with Windows Server 2008 R2 and Hyper-V

In this article we will not cover the basic principles of backing up virtual machines, instead we want to focus on backup methods using Windows Server Backup.

TipsMake.com - Virtual machines are basically made from files. They contain configuration files, virtual hard disks, snapshot files and save file state. We all know the benefits that virtualization technology offers, so one important thing we need to do is protect its content and the virtual machine itself. In the event of a malfunction, you can completely restore the state and the required features.

>>>Enable Hyper-V Manager mode in Windows 8

Interested readers can refer to: Windows Server 2008 R2: Hyper-V Component Architecture.

In this article we will not cover the basic principles of backing up virtual machines, instead we want to focus on backup methods using Windows Server Backup .

Install Windows Server Backup

First, you install Windows Server Backup as instructed here .

Note : To install Windows Server Backup you need to log in to the computer with an Administrator account or another account with Administrator rights. And if you want to perform backup or restore with Windows Server Backup, you also need Administrator rights.

Next you need to register Microsoft Hyper-V VSS writer with Windows Server Backup. (If you do not know how you can refer to the guide in English here ).

Start the backup process

Follow these steps to perform a virtual machine backup:

Open Windows Server Backup from the Administrative Tools folder. In the Actions pane, click " Backup Once " (of course you can schedule backups, but this problem will be covered in the following article).

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 1Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 1

On the " Backup Options " page, select " Different Options " and click Next .

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 2Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 2

On the " Select Backup Configuration " page, select " Custom " then click Next .

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 3Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 3

On the " Select Items for Backup " page, click " Add Items ".

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 4Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 4

In the " Select Items " window, click to select the number of virtual machine configuration files and hard disks installed on the virtual machine. Keep in mind that even though the folders have many options (listed by clicking the plus sign next to each folder), absolutely not select individually, but also a large folder. Failure to select it will result in failure in backup procedures, even if the backup takes place normally but you cannot actually use it to restore your virtual machine. Click OK to continue to the next step.

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 5Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 5

Go back to the " Select Items for Backup " page, click " Advanced Settings ".

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 6Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 6

In the " Advanced Settings " window, select the " VSS Full Backup " option and click OK .

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 7Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 7

Finally return to the " Select Items for Backup " page and click Next .

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 8Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 8

The " Specify Destination Type " page appears, select the location to save this virtual machine copy. Here we select Local Drives , in addition you can perform remote backups. Click Next .

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 9Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 9

At the " Select Backup Destination " page, use the Backup destination drop-down list to select the drive to save. If you save to an external USB drive, make sure it is plugged in to the previous device and recognized. In addition, the capacity of the USB drive should be large enough to accommodate this copy. Remember that the backup capacity is always full , meaning that if you have 10GB of virtual machine capacity you will need the same or higher device to store. After selecting, click Ok .

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 10Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 10

In the " Confirmation " page click the Backup button and let the backup procedure start.

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 11Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 11

If you switch to the interface to manage Hyper-V immediately, you will see that the virtual machines are taking snapshots. This is not equivalent to a Hyper-V snapshot. In fact, this is not a snapshot and has nothing to do with the VSS snapshot. Because VSS authors are registered, integrated services (components) are installed and enabled on the virtual machine, they will be backed up successfully without being stopped or interrupted. Also ICs will notify the virtual machine that a backup procedure is taking place on the parent partition, so any VSS application running in the virtual machine will also be activated (important applications like SQL, Exchange .).

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 12Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 12

Windows Server Backup will start recording the backup file to the drive location you selected:

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 13Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 13

After completing this process, click Close to close.

Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 14Back up virtual machines with Windows Server 2008 R2 and Hyper-V Picture 14

Conclude

Backing up the virtual machine is a bit different from backing up the system in the traditional way. Because a virtual machine is just a collection of files, they are all very important and need special attention when backing up. Good luck!

5 ★ | 1 Vote