Microsoft Exchange Server

How to Backup Restore and Recover an Exchange Server 2019 Database.

In this blog, I will be able to configure database backup and restore the mailbox database and recover the whole database and emails using Windows Server Backup.

First of all, we’d like to install the Windows Server Backup role.

1- Open powershell and type the below command to enable the windows server backup role.

Install Windows Server Backup

Install-WindowsFeature windows-server-backup

install windows server backup powershell

2- Windows Server Backup role start the installation.

windows server backup powershell process

Exchange 2019 Database Backup and Restore

3- Select windows search bar and type Windows Server Backup and then select to start the Backup Process.

windows server backup desktop

4- After opening windows server backup and under the action menu and then select on Backup once.

exchange 2019 windows server backup local

5- In the backup options so select Different options and then click on the next.

windows server backup backup options

6- Select full backup (recommended) and then click on the Next button.

windows server backup configuration

7- Select Local Drives and then click on the Next button.

windows server backup destination type

8- Select a volume where you want to store the backup and then click on the next.

windows server backup destination type

9- After confirmation and then click the Backup button to start the back up.

 windows server backup confirmation

10- Now the Backup process successfully completed, so click on close.

windows server backup progress

Restoring the Entire Mailbox Database.

11- Login to Exchange admin center and select the Servers tab and select the database and select … and then click on Dismount.

exchange 2019 dismount database

12- Open your mailbox database location and then right click on the mailbox database 111625473 and select on rename.

C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1116525473.

exchange 2019 renaming database

Are you sure you want to change it?

13- Mailbox database 111625473.edb.old and click on yes.

exchange 2019 rename database

14- Now open windows server backup and under the action menu and click on recovery.

windows server backup local

15- Select this server (Exch2K19-1) and click on next.

restore database getting start

16- Select the backup date you would like to backup and click on next.

windows server backup date

17- Select Applications and click on the Next button.

windows server backup recovery type

18- Under applications and select the exchange and click on next.

windows server backup select application

19- Specify recovery options so, select recovery to original locations and click on the next.

specify recovery options

20- Exchange Server database Confirmation so click on the recovery.

server backup confirmation

21- Now the Backup server Recovery in progress.

server backup recovery progress

22- Recovery Process completed and click on close.

recovery progress

23- After a successful recovery log in the outlook web app.

outlook web app

Now I have deleted the mailbox database and log files.

Because I want to recover the mailbox database.

24- Select delete database and log files and select delete.

C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1116525473.

windows explorer delete mailbox database

25- After deleted the mailbox.

Exchange database location

Follow the steps from 14 to 22 to restore the database.

Now Exchange database successfully recovered and database mounted.

exchange admin center

For more details how to backup and recover exchange 2019 database

Jamil Parvez

Jamil Pervez works as a Network Administrator, based in Kuwait with a Primary focus on Microsoft technologies. Microsoft Certified MCSE, MCTP, MCITP, CCNP, CCIP, CCVP with 20 years of experience in administering Windows Servers, Exchange, VMWare, Veeam B&R, Veritas BackupExec.

Related Articles

Leave a Reply

Back to top button