When businesses or organizations employ Exchange Server to manage their email communication, they create mailboxes for their users. These mailboxes reside in the Exchange database files. The database file has the .edb extension. An administrator does not interact with the EDB files regularly, and that’s why they are not aware of the exact EDB file location on the computer.
Sometimes, most of the actions in the Exchange mailbox are completed through the Exchange Admin Center and the Exchange Management Shell. But, when the administrator requires to take the manual backup or restore any file, then it requires the exact location of the database file. And if you know the location of EDB files, it will be easier for you to fix Exchange related issues and errors, especially when you are using inbuilt features or facilities to fix EDB corruption.
If you are using Exchange Server 2000 & 2003, you can locate your EDB files at:
C:\Program Files\Exchsrvr\MDBDATA\Priv1.edb
C:\Program Files\Exchsrvr\MDBDATA\Pub1.edb
Here, Priv1.edb is the private folder database file of Exchange Server with Exchange mailbox information like default emails and attachments, and Pub1.edb is the public folder database file of Exchange Server containing rich text format file. These files have a related STM file that stores SMTP messages of the Exchange Server.
If you are using Exchange Server 2007, you can locate your EDB files at:
C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb
C:\Program\Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Public Folder Database.edb
If you are using Exchange Server 2010, you can locate your EDB files at:
C:\Program Files\Microsoft\Exchange Server\V14\Mailbox Database\Mailbox Database.edb
C:\Program Files\Microsoft\Exchange Server\V14\Public Folder Database\Public Folder Database.edb
If you are using Exchange Server 2013, you can locate your EDB files at:
C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox database Name\Mailbox database Name.edb
If you are using Exchange Server 2016, you can locate your EDB files at:
C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database Name.edb
The above EDB file location is the same as the Exchange Server 2019 version.
To find the exact location of the Exchange Server EDB file, users can take help of the Exchange Management Shell by running a specific command for it. The command which outputs the EDB file location for the Exchange Server is as follows:
Get-MailboxDatabase –Status | select “edbfilepath”
Once you know the location of EDB files, you can move, backup, migrate, recover, restore or delete them as per your requirement using their respective procedures. Also, most of the Exchange recovery tools have inbuilt search facilities to locate the EDB files. Tools like this can be used even if you don’t know the location of the EDB file.
Why should you know the Exact Exchange database location files?
It has an in-built search feature which allows it to search for EDB files from not just a specific folder but an entire drive. Please note that the Search feature works even in the free trial version of the tool.
Here is its working procedure with all the Steps -
If you want to recover the mailbox data after preview, you can add a destination from the available options and copy/paste, drag/drop, or export mailboxes from the EDB file to the added destination directly.
Exchange administrators usually do not have to interact directly with the EDB storage folders unless they need to restore data or create a backup. So, it won’t come as a surprise if you don’t know the default location of your EDB files. In fact, the default location of Exchange Database Files varies from one version to another. And if you know the location of EDB files, it will be easier for you to fix Exchange related issues and errors, especially when you are using inbuilt features or utilities to fix EDB corruption.