How to Change the msExchOrigMDB Attribute Using ADSI Edit
To recover data from a mailbox in the recovery storage group, the mailbox must reside in the original database from which the database backup you are restoring was generated. Each database in the recovery storage group has an msExchOrigMDB attribute, which links the database to a database in an ordinary storage group. The msExchOrigMDB attribute holds the distinguished name of the original database from which the database in the recovery storage group was generated. The following procedure outlines how to change the msExchOrigMDB attribute using ADSI Edit.
The msExchOrigMDB attribute associates a database in the recovery storage group to a normal database
To change the msExchOrigMDB attribute using ADSI Edit
Install ADSI Edit on a workstation or server that is a domain member. ADSI Edit is not installed by default with Microsoft Windows®. It is part of the Support Tools for Windows Server.
In ADSI Edit, expand the Configuration container until you find the database to which the mailbox was moved. (For help in navigating the tree of the Active Directory® directory service, refer to the distinguished name examples in the "msExchOrigMDB" section of How the Recovery Database Links Back to the Original Database.)
Open the properties of the database object, and find the distinguishedName attribute. Select and copy the entire Value field to the Windows clipboard.
In the Configuration container, find the recovery storage group database object.
Open the properties of the database object, and find the msExchOrigMDB attribute. Click Clear, and then delete the distinguished name from the Edit Attribute text box. Paste in the distinguished name from the other database, click Set, and then click OK.
After changing permissions, adding or deleting databases in the recovery storage group, or changing attributes of a recovery storage group, it may take up to 15 minutes for previously cached values to be refreshed. In addition, you must allow time for the changes to replicate among the Active Directory domain controllers. Until the changes have replicated and the affected caches have been refreshed, restoring to the recovery storage group or extracting data from it may fail.