Microsoft Azure Backup Server - MABS \ DPM - MABS Server Crashes When Backing Up particular Hyper-V VM

Benjamin Cramphorn 1 Reputation point
2022-11-28T17:12:08.613+00:00

MABS Server crashes when attempting to backup one particular VM.

264849-error.jpg

When checking even log there are errors relating to SQL Queries - specifically "PRIMARY KEY constraint 'tbl_RM_RecoverableObject_DSSeq_CT_CN'. Cannot insert duplicate key in object 'dbo.tbl_RM_RecoverableObject'"

I have checked and the database is not in "recovery mode" and all other VMs back up with no issues.

Trying to reach MS directly on this is proving to be difficult so hoping someone here can assist.

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

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 49,331 Reputation points Microsoft Employee Moderator
    2023-04-08T07:22:06.5933333+00:00

    @Benjamin Cramphorn Appreciate your patience in this matter.

    "Sharing the solution with broader community" Cause: While trying to trigger a backup for the VM from the MABS server it crashes the DPM service. Because, the old VM ID was syncing with Database and causing backup failures

    Solution: Created a new VM, and attached the same VHDs from the old VMs, before this stopped the protection and deleted the data from DPM console, then created a new VM on Hyper-V and attached the old VHDs. Tried protecting new VM which created new object ID in DPM database. The necessity of this was because we need to create a fresh VM ID to be updated in the DPM database, as for the old one it was already protected and each time, we try to re-protect it from scratch, it’s still synching with the old VM ID.


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

    0 comments No comments

Your answer

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