
Preserving Mailbox GUID Values After a Database Move
If you move a database to a different server or storage group, and then re-link user accounts to the mailboxes in that database, you must preserve the original mailbox GUID values if you want to connect the users to their previous mailbox contents.
If you use Remove Exchange Attributes to strip all mailbox attributes, and then you use Create Mailbox or you set homeMDB, homeMTA, and msExchHomeServer attributes on users, the result will be that new mailbox GUIDs will be generated. All users will be connected to new mailboxes, and in Exchange System Manager, each user will appear to have both a connected and a disconnected mailbox in the database.
If you do strip all Exchange attributes from a user account, there are two methods you can use to re-link a user account to the mailbox:
-
In Exchange System Manager, find the mailbox in the Mailboxes table under the database object. Right-click the mailbox, and then select Reconnect. This action allows you to select an Active Directory user account that is not already mailbox-enabled as the mailbox owner. The account does not necessarily have to be the previous owner. This method allows you to assign a new owner to an existing mailbox.
-
Use the Mailbox Recovery Center to automatically match disconnected mailboxes with the user accounts that previously owned them. This facility is very useful when it is necessary to reconnect a large number of mailboxes.
A disconnected mailbox retains some historical data about the last user account connected to it. The Mailbox Recovery Center reads this data and looks for user accounts in Active Directory that match it.
If you re-home a mailbox by changing only the homeMDB, homeMTA, and msExchHomeServer attributes on a user account, then the msExchMailboxGUID attribute will remain intact. One of two things will happen in this case:
-
If the database on the new server does not already contain a mailbox with the same GUID, Exchange generates a new mailbox for the user with the same GUID as the old mailbox.
Exchange will not allow two mailboxes with the same GUID to be connected simultaneously to Active Directory accounts. All mailbox GUIDs listed in the entire directory must be unique. If you cause two mailboxes to be generated on different databases with the same mailbox GUID, only one of those mailboxes can be in a connected state at any given time. You will have to disconnect one of the mailboxes before you can connect the other.
Nonetheless, you may generate two mailboxes with the same GUID as part of a “dial tone” recovery scenario. The dial tone strategy assumes that the original database is temporarily unavailable, but that it will eventually be restored. In the interim, a new mailbox is generated in a different location so that users can send and receive mail, even if they do not have access to their previous mailbox contents. After the original database becomes available again, the contents of the dial tone database will be merged with the original database. For more information about the dial tone recovery strategy, see Using Recovery Storage Groups in Exchange Server 2003.
-
If the database on the new server does contain a mailbox with the same GUID, the user will be connected to that mailbox.
This behavior means that you can move a database from one server to another server, and reconnect users to their original mailbox contents. For more information about moving databases, see Moving an Exchange Mailbox Database to Another Server or Storage Group.