Tuesday, January 18, 2011

Exchange 2010 Backup Failure with Data Protection Manager 2010

About a month ago we created a new mailbox store on our Exchange 2010 SP1 server, and last night I started getting alarms that the server was running low on disk space on the drive that contains the transaction logs.  This happened because the new store was not automatically picked up by DPM 2010, and the transaction logs had built up over time eating away at the available disk space.  My fault for forgetting to verify DPM had the store being backed up.

I went to add it in DPM and got the following error upon expanding the exchange server to add the new database store:
DPM could not enumerate application component Microsoft Exchange Server\Microsoft Information Store\csgtacex1\17a465cc-90ca-4abd-927f-9aed49f33b5e on protected computer csgtacex1.domain.com. (ID: 964)

Please make sure that writer is in good state.


I discovered a VSS error on my exchange server which I fixed by cleaning up the ProfileList entry that had .bak attached to the end of it.  This is something i've seen break on Windows Vista machines recently, so I found it interesting that it started causing problems on an Exchange server.
To clean up the entries with .bak open regedit, and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ and remove any keys that have .bak appended to them.  For good measure I made a backup before deleting the key.  After rebooting the VSS errors were gone, but DPM still didn't work.

I googled the DPM specific error and found this post on technet about the same error.  My system had everything working in vssadmin list writers, so further down Frans posts about missing registry keys for powershell.  This got me curious because I had noticed since upgrading to Exchange 2010 Service Pack 1 that the power shell had disappeared.  I immediately became suspicious.  His solution was to export the missing keys from another server that had them, and then import them on the missing server.  I had another server with the keys there, made an export, imported it, and DPM immediately worked.  If you would like, this is the .reg file I exported.  Save this to a .reg and import it and you should be good to go.



Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns]
@=""


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management.PowerShell.E2010]
"CustomPSSnapInType"="Microsoft.Exchange.Management.PowerShell.AdminPSSnapIn"
"ApplicationBase"="C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin"
"AssemblyName"="Microsoft.Exchange.PowerShell.Configuration, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
"Description"="Admin Tasks for the Exchange Server"
"ModuleName"="C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin\\Microsoft.Exchange.PowerShell.Configuration.dll"
"PowerShellVersion"="1.0"
"Vendor"="Microsoft Corporation"
"Version"="14.0.0.0"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management.PowerShell.Setup]
"CustomPSSnapInType"="Microsoft.Exchange.Management.PowerShell.SetupPSSnapIn"
"ApplicationBase"="C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin"
"AssemblyName"="Microsoft.Exchange.PowerShell.Configuration, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
"Description"="Setup Tasks for the Exchange Server"
"ModuleName"="C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin\\Microsoft.Exchange.PowerShell.configuration.dll"
"PowerShellVersion"="1.0"
"Vendor"="Microsoft"
"Version"="14.0.0.0"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management.Powershell.Support]
"CustomPSSnapInType"="Microsoft.Exchange.Management.Powershell.Support.SupportPSSnapIn"
"ApplicationBase"="C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin"
"AssemblyName"="Microsoft.Exchange.Management.Powershell.Support, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
"Description"="Support Tasks for the Exchange Server"
"ModuleName"="C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin\\Microsoft.Exchange.Management.Powershell.Support.dll"
"PowerShellVersion"="1.0"
"Vendor"="Microsoft Corporation"
"Version"="14.0.0.0"

No comments:

Post a Comment