Microsoft Azure Backup Server-Fails during "Restore from staging area" phase and "Recovery point" creation

LuckyPhantom 1 Reputation point
2022-07-28T07:56:13.747+00:00

Hi everyone. :)
We have deployed Microsoft Azure Backup Server in our environment and added 2 Hyper-V VMs to backup (installed protection agent on Hyper-V host). After first successful online backup, we decided to check restore from Recovery Services Vault in Azure. But every time we face an issue that "Online recovery" passes fine, but next phase-"Restore from staging area"-always fails. We receive errors like these:

  • The DPM service was unable to communicate with the protection agent on SERVERNAMEFQDN. (ID 65 Details: The specified network name is no longer available (0x80070040))
  • The DPM service was unable to communicate with the protection agent on SERVERNAMEFQDN. (ID 65 Details: An existing connection was forcibly closed by the remote host (0x80072746))

StagingArea and folder, where VMs should be restored, have enough space. Additionally the following registry values have been added both for MABS server and protected Hyper-V host:

  • "ConnectionNoActivityTimeoutForNonCCJobs"=dword:00001c20
  • "ConnectionNoActivityTimeout"=dword:00001c20

Also, just for test, fully disabled antivirus protection (though exclusions for MABS processes and folders have been added, but anyway) for the time of restore, but it still keeps failing during
"Restore from staging area".
Very often recovery point creation also fails with nearly the same errors.
Could you you advise what should we change to solve the issue? Or what can be wrong and should be checked?
Thanks.

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
{count} votes

1 answer

Sort by: Most helpful
  1. Sadiqh Ahmed 49,456 Reputation points Microsoft External Staff Moderator
    2022-08-02T12:51:38.153+00:00

    The online restore process is the following

    The first steps is to download the restorable objects data to the staging location. This is done by MARS. If you set the staging for example on path "C:\onlinerestore" you will see a set of folders being created there. You should not touch on those folders and files. You will only be able to go through this set of folders or files using SYSTEM Account context. At the end of the restore this is cleaned. For this step you can search verb[6b8b3657-a21b-468c-a4dc-8bb9c049e322] in msdpm.errlog

    <<1A-DPM-Recovery-7B4D592F-FCA2-4CAD-921A-A1A88E3CACD6.txt>>

    You can use this technique for example in case of a restore failure while copying the data from staging to the destination path you set on the restore wizard.

    Note the folders and files which will be on staging location will be deleted on a restore in order to keep the files on staging you can use the registry key below.

    HKLM\Software\Microsoft\Microsoft Data Protection Manager\Configuration\Prm\StagingAreaOptions\SkipDataDeletion

    Value : 1

    Type : DWORD

    Once above step is completes DPM will perform the catalog job. You can verify the same by looking into the verb[c225c292-4997-478e-b223-dde19f47e62c].
    <<2A-catalog-task-AE9BCDCA-29CD-4B36-8AB9-6E5D03298F15.txt>>

    When catalogs completes DPM will copy the restorable objects data from staging to the destination path you set on the restore wizard.
    You can search by verb[26e363fd-ada2-4b1f-b8a5-ef7f34ef5f5d] for this step. The DPMRA copies the data from the staging area to final destination.

    <<2B-copy-to-PS-task-E7E25E7E-66D7-484D-A29D-0A6FCD5F89B1.txt>>

    Once all steps above complete the folders or files on staging location will be deleted.

    When catalogs completes DPM will copy the restorable objects data from staging to the destination path you set on the restore wizard

    This is where the restore failed, data was downloaded but while trying to copy to destination it failed

    why? not sure have to look into the logs and would be good to know which option you selected during the restore.

    227246-image.png

    also if used different restore selections including different recovery points, important also to know if from disk recovery points the data is restorable, since DPM will shadow copy the latest healthy available replica.

    To add also would be good to know if restoring to a folder on dpm works but not to a "remote"?

    ----------------------------------------------------------------------------------------------------------------------

    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.