Tip

Recreate a public folder store from scratch

Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win

    Requires Free Membership to View

a prize.
VIEW MEMBER FEEDACK TO THIS TIP

As its name implies, the public folder store is the database Exchange uses to hold data found in public folders. It's kept discrete from the mailbox store, although the two do have some interdependencies. If the public folder store is damaged, the mailbox store will still be intact, and the two can be recovered, restored and rebuilt separately.

If there's a problem that causes the public folder store to become damaged -- but there was nothing in it that needed to be restored -- the public folder store can be deleted and repaired anew with just a little work. This will affect the system folders, however, which contain things like the free/busy information for scheduled objects. So the system folder will also need to be manually rebuilt.

  1. Shut down Exchange.
  2. Delete the public folder database files, which are pub1.edb and pub1.stm, and are found in the \Exchsrvr\MDBDATA\ folder. Restart Exchange.
  3. In the Exchange Service Manager, go to the public folder store object and mount it. This will generate a warning that a new database will be created.
  4. Once the public folder store is mounted and working, the system folders will need to be recreated from scratch.
  5. Regenerate the system folders using the instructions in Microsoft Knowledge Base article 275171. This requires the GUIDgen.exe utility (available in the KB article) to create a new GUID. You'll want to manually configure Exchange to use the new GUID for the system folders via ADSI Edit (described in the article).
  6. You may need to wait for Active Directory replication to take place before you can restart the system (and Exchange) and see the system folders.
  7. If you need to manually republish free/busy information, use the instructions in Microsoft Knowledge Base article 294282.


MEMBER FEEDBACK TO THIS TIP

This article refers to Exchange 2000. How is this task accomplished in Exchange 5.5? (There are still a great number of IT shops running Exchange 5.5, including ours.) Also, if an item is deleted from a public folder, is there a way to recover this item without having to restore the entire Exchange server?
—Efrim R.

******************************************

Efrim, there is actually a Microsoft article about recovering items deleted from public folders in Exchange -- this may be the best place to start if you have not yet seen it:

1. Recovering Deleted Items from a Public Folder

2. Understanding Deleted Item Recovery
—Serdar Yegulalp, tip author

******************************************

It's been a long time since I have messed with Exchange 5.5, but if memory serves me, you can stop all of the Exchange services and delete the pub.edb file. You can then copy the pub.edb file from the Exchange Server CD. You will have to re-apply the service pack at that point to bring the public folder store up to a version consistent with the directory and the information store. Lastly, you have to make the public folder store consistent with the Exchange directory. I can't remember if this is done by using EDBUTIL or ISINTEG, but it's one of the two.

As for Efrim's other question, unless they are using backup software that supports a brick-level restore, you have to restore the whole Exchange 5.5 database.
—Brien P.


Do you have comments on this tip? Let us know.

This was first published in February 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.