Thursday, October 21, 2010

Data Protection Manager 2010 and SharePoint 2010 metadata error

Brief Description:  After creating a replica of a SharePoint 2010 farm in Data Protection Manager 2010, the replica shows the error "Backup metadata enumeration failed".

Problem:  After running both the EnableSharePointProtection and EnableSPSearchProtection options with ConfigureSharepoint.exe, and creating a protection group in Data Protection Manager, the replica begins building without error.  When it completes, it gives a warning "Backup metadata enumeration failed.".  Item level restore is, therefore, not available.  All the VSS services are running on the front end servers and the database servers.  vssadmin list writers also shows that the SharePoint writer is stable and has no errors.


This is a deceptive error because the VSS writers all show up as happily running without error.  In my case, the solution was to run the command
"c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm" -o registerwsswriter
on front end servers in the farm.  That's not a typo, it's wsswriter not vsswriter.  Odd since it's SharePoint 2010, but nonetheless, replicas happily created and with a force populate, I have item-level restore.

I've posted a quick recap of DPM 2010/SharePoint 2010 config steps and other gotchas with item level restore.  If this is an install that has never worked, before following the steps in this article, destroy the replica with the metadata error.  Then, follow the configuration steps, and re-create the replica.

If you get this error on an existing, previously working, DPM replica, force a new recovery point, there may have just been a timeout during the last recovery point.

No comments:

Post a Comment