none
Pagefile exclusions not working in DPM2012 R2 RRS feed

  • Question

  • I'm unable to get pagefile exclusions to work with DPM 2012 R2 rollup 7.  Using Server 2012 R2 as Hosts for Server 2012 R2 VMs.  I've created a seperate .vhdx file for each VM and moved the pagefile into it.  I've named the files in the format Pagefile_Vm1.vhdx, Pagefile_Vm2.vhdx and so on.  I've ran SetDPMGlobalProperty -HyperVPagefileExclusions "pagefile*.*" on the DPM server.

    Yet when I check my recover points for the VM, each one lists the pagefile_vm1.vhdx as a recoverable option. 

    Any ideas what is wrong here?

    Wednesday, August 19, 2015 8:02 PM

All replies

  • Hi,

    please make sure, that his VHD Files are not backing up again.

    The Exclusion is backing up the excluded VHDX once at the initial Backup, after this, it should not be backed up anymore.

    Please check this fact.


    Michael Seidl

    SYSCTR Senior Consultant, Blogger, CEO

    Blog | Twitter | Facebook | LinkedIn | Xing | Youtube

    Note: Posts are provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    Thursday, August 20, 2015 5:46 AM
  • If I browse through the Recovery section, the Pagefile.vhdx file is still listed as having a recovery point on disk for each express-full backup.  I assume this means it is actually backing it up at that time.
    Thursday, August 20, 2015 7:14 PM
  • Hi,

    Delta changes for that page file .vhdx file should not be replicated to the DPM server.  You can verify that is working my making a new file on that pagefile.vhdx, make a new recovery point, restore that pagefile.vhdx and mount it then check to see that the new file is not present.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, August 20, 2015 10:27 PM
    Moderator
  • I have created an empty txt file on my pagefile vhdx, and then restored it to a different location after a couple days.  The txt file is present in the restored.vhdx, so DPM is not excluding the pagefile.vhdx as configured.

    I've also just applied the re-released Rollup 7 for Data Protection Manager and modified the txt file.  I will repeat my restore tomorrow and see if the changes are picked up to confirm.  I know there were issues with the first release of rollup 7 not expiring recovery points due to some powershell behavior changes, maybe this is a symptom of that as well.

    Wednesday, September 2, 2015 5:31 PM
  • I need to ask just to make sure. Are you sure you have configured your syntax correctly matching the filenames? I am not sure whether it is case sensitive. Note your filename starts with an uppercase. I always use such filenames:

    • HOSTNAME_C.vhdx
    • HOSTNAME_D.vhdx
    • HOSTNAME_pagefile.vhdx


    So I configure DPM in such a way that when the filename contains *pagefile.vhd* it should be excluded, using the following syntax:

    Set-DPMGlobalProperty -DPMServerName "SCDPM01" -HyperVPagefileExclusions "*pagefile.vhd*"

    Please refer to the following examples:

    https://technet.microsoft.com/en-us/library/hh881752.aspx


    Boudewijn Plomp | ITON Consultancy

    Please remember, if you see a post that helped you please click "Vote as Helpful", and if it answered your question, please click "Mark as Answer". This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, September 14, 2015 5:50 PM
  • Get-DPMGlobalProperty for the property HyperVPagefileExclusions returns "Pagefile*.vhdx" and my server has a pagefile disk named "Pagefile_Servername.vhdx"


    Tuesday, September 15, 2015 4:07 PM
  • Thqt is different then your first post. Can you try by renaming the filename so that it ends with e.g. _pagefile.vhdx. Who knows, maybe it is a bug.

    Boudewijn Plomp | ITON Consultancy

    Please remember, if you see a post that helped you please click "Vote as Helpful", and if it answered your question, please click "Mark as Answer". This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, September 15, 2015 6:08 PM
  • No luck.  HyperVPagefileexclusions is now set to *_pagefile.vhdx

    I've renamed the testing server's pagefile vhd to "servername_pagefile.vhdx" And confirmed that changes within that vhd are still being backed up.

    Can anyone confirm that the exclusions do work with .vhdx files? Maybe they have to be .vhd  I will test that next.

    Tuesday, September 29, 2015 4:12 PM
  • I confirm. This setting does not work.
    Hyper-V 2012 R2 + DPM 2012 R2 UR 9
    Friday, February 12, 2016 1:44 AM
  • Not working for me either on DPM 2012R2 UR8.

    HyperVPageFileExclusions is set to *_P.vhdx, which matches a vhdx being backup up. Confirmed the issue by creating a folder on the drive, creating a recovery point, then confirming it was there in DPM recovery.

    Monday, February 15, 2016 3:27 PM
  • Does anyone have page file exclusions working? Or ever had them working?

    This is getting a bigger issue for us as we're using Azure for offsite backups and so are using a lot more storage than we should be as all the page file changes are being included. Wasting lots of local disk space as well.

    Is this feature still supported?

    Tuesday, April 5, 2016 3:35 PM
  • Hi Folks,

    We have investigated this issue and it seems it is a regression and we're working on the fix.  Barring any problems the fix should make it in time for DPM 2012 R2 UR10. 


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, April 5, 2016 4:58 PM
    Moderator
  • Hi,

    I had same problem and solve only in this way:

    Created registry parameter VHD type multistring in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup

    and eneter value with full patch of vhdx: D:\VMs\myvm\myvm_page.vhdx

    and key created key for feature activation: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\HonorFilesNotToBackup

    Mike forget his answer :)

    https://social.technet.microsoft.com/Forums/en-US/b75c701f-0cf4-4250-87a2-31186cd7d585/backing-up-a-vm-with-multiple-vhds-attached?forum=dpmhypervbackup

    Wednesday, April 6, 2016 6:34 AM