How to Restore Accidentally Deleted Public Folder Database from .EDB File

Public Folders, launched with the initial version of Microsoft Exchange, are designed to provide organizations with a simple and effective way to collect, organize, and share information within workgroups or the entire organization. Such folders follow an organized hierarchy and they can be replicated between servers running Exchange. The most interesting aspect of Public Folders is that they are stored in dedicated databases called Public Folder Databases. And like all data on the Exchange Server, the data within Public Folders is stored within EDB files (.edb).

The need to back up Public Folder Databases

Public Folder Databases store a lot of critical information and hence, if such databases are subjected to any disaster like accidental deletion from the .edb file, data worth a lot of money and legal importance stands threatened. As such, all organizations using such dedicated databases should follow the fundamental rule of backing up. Taking backups might seem like a tedious and unnecessarily lengthy procedure but no one can predict when a backup will need to prove its worth. So it’s always better to be safe than sorry.

Problem Scenario

Consider a situation where an Exchange administrator accidentally deletes all the public folders from a Public Folder Database. Accidental deletion of one or all public folders can affect some other task on the database that contains them. If such a situation arises, sooner or later you’ll have to come to terms with the painful fact that a deleted public folder cannot be simply restored through an older version of the public folder database.

Even if you restore the database from a backup, the public folders will be visible only till the server receives replication messages. Since the folders have actually been deleted from the public folder hierarchy, as soon as the public folder database receives a hierarchy update, it will come to know that the deleted folders don’t exist within the hierarchy and they will be deleted again by the store.

So how to restore accidentally deleted Public Folder Database from .edb file in the easiest manner that allows the folders to actually be recovered?

Recovering the Public Folder Database

Here is a procedure that’s known to be successful in performing the said recovery:

  • Using Windows Server Backup restore Exchange to a different location from a previously stored database backup
  • Launch the Exchange Management Console and navigate to Microsoft Exchange > Server Configuration > Mailbox.
  • You’ll find the “Server list” in the center. Select the Server on which the database you’re recovering resides.
  • Then select the Public Folder Database you want to restore
  • Next, select “Dismount Database” on the right hand actions panel to dismount the database
  • Select the Properties button just under where you selected to dismount the database
  • At the bottom you’ll find a check box that says “This database can be overwritten by a restore” select it and click apply.
  • Now navigate to the directory in windows explorer where you have restored the exchange database and find the public folder database.

Note: The usual location of the restored database is <Drive Letter>:\Program Files\Microsoft\Exchange Server\Mailbox\<Storage Group Name>\

  • Copy the restored file of the Public Folder Database
  • Navigate to the public folder database that you just dismounted
  • Rename the original database to something through which you can instantly recognize that it is the original one.
  • Paste the restored Public Folder Database file here and make sure the name is the same
  • Finally select re-mount in the Exchange Management Console.

This procedure should go through without any glitches. There’s only one point at which you might encounter a problem, that is, it mounting the public folder database fails. If this happens, you can do the following:

  • In the Exchange Management Shell navigate to the folder where your public folder database resides
  • Repair the database by running the command “eseutil -p <PFD name>.edb”.

Note: Replace <PFD name> with the name of your public folder database file name.

  • After this you can mount the public folder database using the Exchange Management Console and follow the remaining steps.

Though the above procedure works, it involves too many steps and is somewhat complicated to work with. There is another way (using prominent software) to restore deleted Public Folder Database from .edb file and that too much more easily and without any glitches; this utility is Stellar Converter for EDB.

This utility is best for the job of converting mailboxes, public folders (and their items) within .edb files into usable PST files. This efficient tool works on online as well as offline.edb files and helps extract all data within them including your important emails, contacts, attachments, etc. You can check the complete features of this tool by trying out its demo version from here:

So why go through with the headache of a procedure that’s difficult to understand and follow when you can simply automate the entire process and be worry-free!

Thanks,

4 Comments

  1. Andy Markov November 9, 2015
    • admin November 9, 2015
  2. Andrew Paul October 15, 2018
    • Admin October 15, 2018

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.