Share via


SCDPM 2012 R2 Troubleshooting: Exception virtual disk VHD / VHDX of VM backup Hyper-V

Introduction

System Data Protection Manager (DPM) from Microsoft has its own niche among similar systems. The amount of information about the DPM in the vast global network proves that this system is in demand and is used in different companies and firms to save the information.

Most likely , each encounter any issues related to DPM: installation, configuration or maintenance .

This article discusses one of them. As you know, technology Hyper-V Replica can not work with the types of disks that are connected as Passthrough or through Virtual Fibre Channel, so only used VHD (-x). The question arises as to the multi-disk virtual machines if necessary to exclude some of the VHD virtual disk archiving means DPM. Through a graphical interface or use PowerShell commands to do it will not work.

In example below we will see a working and proven exclusion mechanism of VHD files from the backup virtual machine in Hyper-V DPM.

There are DPM 2012 R2, running on Windows Server 2012 R2 Standard, t he parent partition (host will be called briefly) with virtual machines (VMs), running Windows Server 2012 R2. Certain VM has two virtual disk VHD (-x): a system and for data.

Procedure

1) Open the DPM 2012 R2 and follow the standard procedure for VM backup settings

http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image002_thumb.jpg

 

http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image004_thumb.jpg

http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image005_thumb.png

http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image007_thumb.jpg

http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image009_thumb1.jpg

At this stage it is important to place the VM actually used (Total disk size) was less available free in the pool DPM (Disk space remaining).

http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image011_thumb1.jpg

Then press the edit button (Modify) and exhibiting a minimum value for the replica (Replica Volume) and necessary for recovery points (Recovery Point Volume). Push the button OK. Then Next.

http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image013_thumb1.jpg

Now one of the important moments!

Set the time of creating the first replication with anyreserve.

http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image015_thumb1.jpg

Next, go through to the last step of the wizard and exit from it , confirming past the last .

http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image016_thumb.jpg

2) Another important action on the host to change the registry keys


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup Create VHD parameter value type Multi_SZ and include a path to a virtual disk file , such as shown in the screenshot below ...  http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image017_thumb.pngAdding registry key HonorFilesNotToBackup, to activate an exception

  

      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent           http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image018_thumb.png        http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image020_thumb.jpg    3) In the DPM choose the newly created task and click the button to see the details (Click to view details).      http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image022_thumb.jpg    Remember the path to the files and open the Disk Manager      http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image023_thumb.png        http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image024_thumb.png    Then we find on empty space 100% and make sure that it is desired discs      http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image026_thumb.jpg    4) Select the disk for data replicas and perform compression command (Shrink) ...      http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image027_thumb.png    Sneak peek ... snap Hyper-V Manager how much space VHD (-x) under the system            http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image028_thumb.jpg      Choose compressible place, given the remaining, which should be larger than the VHD (-x) with the system (in our example, is more than 38.12 GB 25.6 GB).  http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image029_thumb.pngPush the button compression (shrink) and get the result .  http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image031_thumb.jpg5) Go to the DPM management console and make an initial replication VM.  http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image032_thumb.pngAs a result of successful replication get zipped VM system only VHD (-x) disk.  http://blog.it-kb.ru/wp-content/uploads/2014/01/clip_image036_thumb.jpg  CreditsOriginal post on Russian: System Center 2012 R2 DPM – Исключение виртуальных дисков VHD/VHDX из резервной копии виртуальной машины Hyper-V

http://c.statcounter.com/9864778/0/2f05aaaf/1/