none
BMR backup include not only C drive RRS feed

  • Question

  • Hello,

    I'm trying to protect one of hardware FC nodes (Win2008R2) (used for sql cluster) using DPM BMR (system state /BMR protection). DPM failing with error "DPM is out of disk space for the replica". Auto grow is enabled.

    I decided to try launch this backup manualy from protected server using this command:

    wbadmin.exe start backup -allcritical -quiet -backuptarget:\\servername\bmrshare

    and noticed disk space used by "bmrshare" folder are really huge i also discovered that backup includes not only C disk with OS, but also other cluster disk wich used for storing SQL2008  database files and logs.

    Can someone explain why this happens. 

    We also have SQL2012 FC nodes they are protected in the same way, and there no any issues.

    I also have cheked C:\Program Files\Microsoft Data Protection Manager\DPM\bin\BmrBackup.cmd

    and there no any additional disks added in to command.

    "@echo off

    if not exist %SystemRoot%\system32\wbadmin.exe goto returnError

    rem Start a wbadmin.exe to create a BMR backup
    start  /WAIT %SystemRoot%\system32\wbadmin.exe start backup -allcritical -quiet -backuptarget:%1

    rem If return error code, Pass this error code to caller else check whether it actually succeeded or not
    if %ERRORLEVEL% == 0 goto returnSuccess
    exit /B %ERRORLEVEL%

    :returnSuccess
    exit /B 0

    :returnError
    exit /B 1"

    Thanks in advance.




    Tuesday, June 30, 2015 2:00 PM

All replies

  • Hi,

    The system vss writer determines which volumes are included in the BMR backup set.

    -AllCritical is just a short-cut to specify all the critical volumes.

    Most likely, you have one of more files on another volume that the system writer is wanting to including for BMR backup.  To identify the offending files and paths, from an administrative command prompt run diskshadow.exe - then list writers.  In the output, look at the files list for the system writer and identify the files that are located on any volume other than the C: volume.

    Install this hotfix if not already installed.

    980794  System state backup error in Windows Server 2008, in Windows Vista, in Windows 7 and in Windows Server 2008 R2: "Enumeration of the files failed"
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;980794

    Then using the information from the list writers output - enter the image paths for the offending files to exclude them from the backup.  Once you do this the -allctitical switch should work.

    1.
     Click Start , type regedit in the Search programs and files box, and then press ENTER.

    If you are prompted for an administrator password, type the password. If you are prompted for confirmation, provide confirmation.
     
    2.
     Locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SystemWriter

    Note If this registry subkey does not exist, please create it manually.
     
    3.
     On the Edit menu, point to New , and then click Multi-String Value .
     
    4.
     Type ExcludedBinaryPaths , and then press ENTER. Note
     
    5.
     Right-click ExcludedBinaryPaths , and then click Modify .
     
    6.
     In the Value data box, type all binary paths that should be excluded from the system state backup operation, and then click OK .

    Note The binary paths should be absolute paths. They should not include environment variables (such as %windir%) and should not be enclosed in double or single quoation marks.
     
    7.
     Exit Registry Editor.


    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, June 30, 2015 5:41 PM
    Moderator
  • Hello Mike,

    Thanks for your quick response. Can you please take a look at the output of diskshadow list writers command (https://onedrive.live.com/redir?resid=9BA94D92C7FF2013!1242&authkey=!AM6Casa45MxcFBk&ithint=file%2ctxt) and say where to look for those non C:\disk files. 

    Thank you .


    Wednesday, July 1, 2015 6:26 AM
  • Hi,

    At the bottom of the System Writer output, it looks H:\Quest folder needs to be excluded.

                    - h:\quest\pa_agent\3566\agents\bin
                - Volumes affected by this component:
                    - \\?\Volume{97fabf46-3f37-489a-81a2-3e2cdebf2d95}\ [C:\]
                    - \\?\Volume{8d942ef9-a133-4c07-b971-818999564c4e}\ [H:\]
                - Component Dependencies:


    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.

    Wednesday, July 1, 2015 12:53 PM
    Moderator
  • Sorry to dig this up; this isn't working for us.

    So, HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SystemWriter\ExcludedBinaryPaths should be set to what?

    h:\quest\pa_agent\3566\agents\bin ?

    h:\quest\pa_agent\3566\agents\bin\ ?

    h:\quest\pa_agent\3566\agents\bin\some.exe ?

    EDIT:

    Article states it must be set to the binary. Also, rebooting is neccessary!

    Thursday, November 15, 2018 9:26 AM