Microsoft KB Archive/162353

= XADM: Restoring an Exchange Directory =

Article ID: 162353

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Exchange Server 4.0 Standard Edition
 * Microsoft Exchange Server 5.0 Standard Edition
 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q162353



SUMMARY
If you need to restore an Exchange Server computer and you cannot recover the Directory, you can still recover the information in the Private and Public Stores. Typical methods to recover the Directory include running edbutil /d /r /ds, or eseutil /p /ds in Microsoft Exchange Server 5.5, or first recovering the Microsoft Windows NT security accounts manager (SAM) database.



MORE INFORMATION
To recover the information in the Private and Public Stores:

Note If you run edbutil /d /r, or eseutil /p in Exchange Server 5.5, against the directory (dir.edb) it is important to export the information, reinstall Exchange Server, and then import the information.  If possible, from the Exchange Administrator Program, on the Tools menu, click Directory Export and export all Recipient containers on this server. If this server cannot be brought up long enough to get to this point, you can perform the Directory Export from another server, in the same or other site, that contains the Directory information for the users from this server. In Services, in Control Panel, stop the Microsoft Exchange System Attendant. When prompted, click OK to stop all of the other Microsoft Exchange Server services. Copy Pub.edb, Priv.edb, all Edb*.log files, all Res*.log files and Edb.chk to another folder or another server as a backup. Start Setup.exe from the Exchange Server CD, and click Remove All when prompted. Verify and remove all Exchange directories (across all drives if Optimization was run). Start Setup.exe again, and reinstall the server with the same Organization Name and Site Name as before. Be careful to make sure each name is typed exactly as it was before, because both the Organization Name and Site Name are case-sensitive.

Note Remember to reapply any Service Packs that were applied to the previous install. In Services, in Control Panel, stop the Microsoft Exchange System Attendant. When prompted, click OK to stop all of the other Microsoft Exchange Server services. Move all the files out of the Exchsrvr\Mdbdata folder (across all drives if Optimization was run). Copy to this folder all of the files that were copied to another folder or server in step 1 (Pub.edb, Priv.edb, all Edb*.log files, all Res*.log files and Edb.chk).</li> Start the Microsoft Exchange System Attendant and Microsoft Exchange Directory services in Control Panel, Services.</li> From a command prompt, change the folder to Exchsrvr\Bin, and carry out the following command:

Isinteg -patch

</li> Start the remaining Microsoft Exchange Server services in Control Panel, Services.</li> Run the Microsoft Exchange Server Administrator Program against the server you are recovering.

Note With a new directory it is important to re-establish Mailflow between any outstanding sites and Directory Replication before you proceed to Step 12.</li> If there were any other Recipients containers aside from the default Recipients container, re-create them all. It is important that these containers have the same name and are nested (Recipient containers within Recipient containers) under the same containers as they were before the restore.

Note The users in nested containers may not be recovered if step 1 was not performed. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

154491 XADM: DS/IS fails to re-create mailboxes in subcontainers

If step 1 was successful, perform only step 13 below. If step 1 was not successful, (no CSV file could be created), skip step 13 below and perform steps 14 through 16 below.</li> Using the CSV file created in Step 1, on the Tools menu, click Directory Import and import the Directory entries into the Directory.</li> Select the Server Object (Organization, Site, Configuration, Servers, ), click File, click Properties (or press ALT+ENTER), and then click the Advanced tab.</li> Under DS/IS Consistency adjustment, click All Inconsistencies, and click Adjust.

At this point, all Users should show up in their respective containers except those users who are in nested containers.</li> Go to the Properties of each individual mailbox on the server. At the bottom of the Properties box, click Primary Windows NT Account, and then click Select an existing Windows NT account, and then select the corresponding Windows NT account from the Add User or Group list.</li></ol>

After these procedures are done, the users should be able to log into the server without having lost their mail messages and the public folders should have been restored as well.

For additional information about using Edbutil.exe, click the following article number to view the article in the Microsoft Knowledge Base:

143233 XADM: Command-line parameters for Edbutil.exe

For additional information on using Eseutil.exe, click the following article number to view the article in the Microsoft Knowledge Base:

182903 XADM: ESEUTIL command line parameters

Additional query words: pub edb priv edb* log res* chk setup exe

Keywords: kbusage KB162353

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.