Backing up Exchange Mailbox databases with eseutil utility

Share this:

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.

Solution


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.

image12

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

image30

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.

image9

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>

image18

The result of the previous operation will be a brand new mailbox database file on the C:Restore folder.

image27

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>

image24

Conclusion


In this tutorial we used eseutil to create a backup and validate if the protected database is in a clean shutdown state.

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

IMAP inaccessible on Exchange Server 2013 If you are experiencing an issue where the IMAP clients are not able to connect on the Exchange Server 2013/2016 server, and when trying to telnet the...
Error MaxWebConfigFileSizeInKB when installing Exc... During Exchange Server 2013 Cumulative Update 10 in a new server the administrator may get an error related to MaxWebConfigFileSizeInKB during the Rea...
Managing DAG: Creating a new DAG using EAC At this point of the series we created a DAG witness server, pre-staged the Active Directory that will be used by the DAG in this Tutorial and last bu...
How to.. Simplify Outlook Web App access using Exc... In Today’s post we are going over the process to simplify Outlook Web App (OWA) access to our end-users. Exchange Server 2013 by default already perf...