In this Tutorial we are going to use eseutil utility to create a backup of a mounted mailbox database. The steps described here are useful when you need to perform a simple backup using a native utility.
The first step is to create a Restore folder on the C: drive on the Exchange Server that we are about to perform the backup.
The next step is to identify which database we will be protecting and besides of the name we must know a few more details that are required by eseutil. The following cmdlet will help us out to gather all the required information, as follows:
Get-MailboxDatabase | fl Name,EDBFilePath,LogFilePrefix,LogFilePath
Just to make sure, we can open the command prompt or Powershell and list the EDB file from the path that we retrieved from the previous cmdlet.
We have all pieces of the puzzle, we just need to use them with eseutil, the following syntax can be used. The protection of the first database is shown in the image below.
eseutil /y <Database-File.edb> /d <Path-of-the-restore-with-edb-file> /vssrec <LogFilePrefix> <Log-Path>
The result of the previous operation will be a brand new mailbox database file on the C:Restore folder.
We do have a new mailbox database but to make sure that we can use afterwards we need to run an eseutil again with different parameters and the State of the Mailbox Database must be Clean Shutdown which means that we can mount and retrieve that Mailbox database if the conditions are right.
eseutil /mh <EDB>
In this tutorial we used eseutil to create a backup and validate if the protected database is in a clean shutdown state.
Latest posts by Anderson Patricio (see all)
- DPM 2012 R2–ID 30146 unkown error protecting Exchange - February 26, 2015
- How to deploy WSUS to support VMM Update Server - February 25, 2015
- Fixing Network Compliance in VMM - February 24, 2015
- Persistent Chat failing with Unexpected DB version error - February 20, 2015