 Hello everybody! Watch this video to find out how to recover a Windows Exchange server. In today's video, I'm going to show you how to create a backup copy with the help of Windows Server backup and how to deploy such backup on an Exchange server. We will also explore how to recover a database from backup and how to transfer mail to a new server. And finally, you'll learn how to restore damaged or deleted mailbox database files with the help of Data Recovery software. A local Exchange server is an effective email server solution with all security features provided by Microsoft. Still, its databases may get corrupted by incorrect management, physical or logical errors. This is not too bad if you have a server backup. Then a damaged Exchange database can recover it easily. Although a completed administrator can reduce database damage to a minimum, the chances of such misfortune can never be completely excluded. That is why it is always a good habit to have a fresh backup at hand, so that you will never lose important data if something goes wrong. There are many specialized programs to backup Exchange Server 2019, but Windows Server does have its own integrated feature for this purpose. And it's the component called Windows Server backup. Windows Server backup options let administrators choose to backup the entire server, selected volumes or specific folders. Windows Server backup is an integrated backup model of the Windows Server operating system. If the backup feature is not installed by default, you'll have to do that. Open Server Manager, click on the menu button, manage, add roles and features. In the window that opens, go to Features and check the box next to Windows Server backup. Then click Next and Install. After the utility is installed, open Tools and run Windows Server backup. Microsoft claims that with data backup system you'll be able to create compass of Exchange databases and recover them. Before creating a backup, it's recommended to dismount the database. To do it, open Exchange Admin Panel, go to Servers and open the Databases tab. Select a database, click on the three dots button and click Dismount. In the Windows Server backup window that opens, choose Local backup and then look to the right, in the Actions menu, to select backup ones. In the backup options, select different options and click Next. In the backup configuration, select Custom and click Next. In the Item Selection page, click Add Items, select the disk where your Exchange database is stored and click OK. After that, click Advanced Settings. This is where you can add exclusions from the disk and then such files won't be copied. Then jump to VSS Settings tab and check the box next to VSS Full backup. Click OK and Next. At the next stage, choose the directory where to save the backup – a local drive or a remote shared folder. Then check all the settings and click Backup to start the process. Congratulations! Now you have an Exchange mailbox database backup. After that, go to the mailbox and check your mail. Delete all emails. You can even delete them from the deleted items folder. Now let's check if they can be recovered from the backup copy. So, how can you recover a database from the latest file created by Windows Server backup? To do it, open Server Manager, Tools, Windows Server backup. In the Programs window, select Local backup and then choose Recover in the Action window. Specifying where your backup is stored. On this server or in another location, click Next. Give the exact location of the backup – Next. After that, select the server and the date of the backup which should be used for recovery. In the Recovery Type page, choose Applications and click Next. In the Next window, make sure that you selected the Exchange application and click Next again. After that, choose Recover to original location if you need to recover Exchange data to its original directory or Recover to another location if you want to recover specific databases. To start the recovery process, hit Recovery. When it's over, click on the Close button. Now all changes and deleted emails will be restored to their condition as of the backup date. Let's check the mail. As you can see, all emails that were in this mailbox at the time when you backed it up are there again. This is how you can recover or an important email that was permanently deleted from the mailbox, but it can also erase any emails that were achieved after you created the backup. However, you won't be able to recover any emails this way if the mailbox itself was deleted irreversibly. To have your emails back, you'll have to create a new mailbox and recover the emails from the Recovery database. One more way to recover mailboxes is to use the Recovery database. If you need to recover emails to a new server, or if the first nothing didn't help you to recover lost emails, try doing it with the Recovery database. Before recovering a database to a new Exchange server, it should be installed and configured. I will only show you the process of mailbox recovery since I suppose you that you already have a freshly installed and running Exchange server with active directory. Alright, so we have a backup created with the help of Windows Server backup and I'll show you how to use it to recover a database and the folder containing the logs to another disk. And then import all that stuff to a server with a clean installation of Exchange server. For starters, you need to recover an Exchange database from backup. This could be a backup created with Windows Server backup or with another similar tool. From this backup, we need to retrieve the folder containing the database and transaction logs. Let's explore this process with the example of a backup file created with Windows Server backup. Open Server Manager, look up and to the right click on the Tools button and choose Windows Server backup when you find it at the bottom of the drop-down list. In the Utility window that opens, choose Local backup and click Recover. Select the location of your backup, this server or another location and click Next. Select a disk or shell folder, choose a volume, select a server and click Next. After that, choose the latest backup date and click Next again. At the next stage, choose Applications and click Next. Now select Exchange, Next and specify where Exchange server data should be recovered. Click Browse, choose a disk or folder, then click Next and Recover. Change for the process to be over. And then close the Utility window by clicking Close. As a result, you get a copy of Mailbox database and a folder containing log files. I will copy the database files and take them to another folder, in the root directory of the system drive, so it will be easier to type its pass. Also, you can change the names of the folder and the database file, if necessary. To recover your Mailbox, you need to create a recovery database, to which files will be imported from the database and logs recovered from the backup, and then all emails will be transferred to the existing database. For this purpose, we'll be using Exchange Management Shell, or EMS for short, and a command lot, new Mailbox database. Go to the folder containing the database and type the following command. Recover DBR is the name of the new recovery database, Mailbox Database EDB is the name of the database file, and in the end, there is the pass to the folder containing transaction log files. After this command is performed, the Exchange Information Service should be restarted. To do it, open the Service window, find Microsoft Exchange Information Store on the list, select it, and click Restock. Now let's check the status of the database that we have recovered. Run the ESCutil command with the mh key. If you are in a different folder, you should add the pass to the file to this command. In my case, I just gave the file name as I'm in the same folder where the database file is located. If you get such database state as dirty shutdown, you'll have to recover it first by using another command. Run ESCutil command with the R key. Add ReceptionLog prefix has to be added. In my case, it's E double zero. Go to the folder containing the logs and view the prefix used to file names. If this command doesn't help you, try another one. Here you'll need to specify the prefix for transaction logs, and then give the pass to the folders containing the logs and the database. If this process was successful, you'll see this result. When the database is recovered, you can go on to mount it. And here is the command to use. To see if the backup contains any data, you can run another command. As a result, you'll get the list of mailboxes stored in the recovery database and their ID, which you will need later to transfer emails to the new mailbox. For the transfer, use this command. In it, you should give the name of the source database, the recovery database, the ID of the source mailbox, and at the end of the command, the name of the target mailbox. If you saw such an error while the command is running, then add the following value at the end of the command. Now test the new mailbox. As you can see, all the emails that were stored in the lost mailbox have been transferred to the new one. We managed to extract the data from backup and import it to the new server. Now you can perform the same procedure for the remaining mailboxes. If the database is damaged or the logs are missing, it may need to be recovered. For this purpose, we'll use the ESC util command with the P key. As a result, you'll see a warning that this process is irreversible and some data is going to be lost anyway. Now let's check that the database is in good condition. Its status should change to clean shutdown. After that, you'll need to defragment the database. During defragmentation, a new database is created and all healthy data will be moved there. When the defragmentation process is over, the original database file will be removed. Now you need to mount it and run a checkup command. Here is the command you need for mounting. And this command starts the checkup. Now the exchange server database recovery process is over. If your server is out of order, its mailbox database or transaction log folder is damaged or deleted, a specialized data recovery tool, Hetman Partition Recovery, will help you. Use it to scan the hard disk, find the deleted files, recover them and bring them back to the exchange server. Hetman Partition Recovery supports the majority of popular file systems, but if your database was stored on a RAID array, try another product – RAID Recovery. It will automatically rebuild the damaged RAID system with available disks and you'll be able to retrieve your exchange database files. Let's explore how it works. With Hetman Partition Recovery and default location of the database. Download, install and run the program. It will scan your computer automatically and display the connected hard disks. Right-click on the disk where the database was stored and choose Open. Then select the analysis type – Fast scan or Full analysis. Run a fast scan first. It will take less time. If the fast scan can't find the missing files, then go for Full analysis. Right-click on the disk, analyze again, Full analysis, specify the file system for this disk, then click Next. Go to the folder where the exchange server database was stored, select the directory and click Recovery. After that, specify the disk and folder where to save the database and hit Recovery again. When the recovery process is over, the folder containing the files will be placed into the directory you have chosen. By default, the database is stored in this directory. For your convenience, the program features the file search by name, which helps to reduce the time required to find the designed files. Also, you can save a disk image and then use this image to perform all scans. Now that the database is recovered, you can use it to create a recovery database and then transfer the necessary emails to a new server. And we've already discussed how to do that. Before recovering the database to a new exchange server, it should be installed and configured. In today's video tutorial, I only showed you the process of recovering mailboxes. Check one of the previous videos I bought installing and configuring the exchange server with Active Directory. And that is all for now. Hopefully this video was useful. Remember to click the Like button and subscribe to our channel. Leave comments, thoughts, questions. Thank you for watching. And good luck.