Kernel Data Recovery Blog

Methods to restore Exchange database to a new server

Read time 5 minutes

Exchange Database work under the settings of an Exchange Server and synchronize the mailboxes to keep the data consistent and available. But a database is not limited to its parent Exchange Server only. You can restore a database to a new server with better features and security. There are some manual methods that can help you in restoring the database without making changes in the mailbox. But they require a certain level of expertise to complete securely.

In this article, we will talk about restoring databases from one Exchange Server to another with the manual as well as the automated methods.

Restore database using portability method

It is one of the most efficient methods to restore the Exchange database to another server. Database portability allows you to restore the mailbox database of any Exchange server to the target server easily. Database Portability feature is available for almost every Exchange Server, including Exchange 2007, 2010, 2013, and 2016.

Before starting the database migration from one server to another with the Database Portability method, there are some things that you need to know.

Things to know before moving the data

Steps to move database to a new server
  1. Open Exchange Management Shell.
  2. Make sure the data you want to move is in the clean shutdown state. If it isn’t, then perform a soft recovery.
    ESEUTIL /R <Enn>
  3. Now, use the following syntax to create a database on the new server.
    New-MailboxDatabase -Name <DatabaseName> -Server <ServerName> -EdbFilePath <DatabaseFileNameandPath> -LogFolderPath <LogFilesPath>
  4. In the next step, set the attribute “This database can be overwritten by restore” with the following command.
    Set-MailboxDatabase <DatabaseName> -AllowFileRestore $true
  5. Now, move the database files like EDB, Log, and Exchange Search catalog files to the specified database folder that you have selected while creating a new database.
  6. Use the following command to mount the database.
    Mount-Database <DatabaseName>
  7. Once the mounting process of the database is complete, you’ll have to modify the user account settings using the Set-Mailbox cmdlet to ensure that the account points to the mailbox on the new server. You can use the below syntax to move all users from the old database to the new database.
    Get-Mailbox -Database <SourceDatabase> |where {$_.ObjectClass -NotMatch ‘(SystemAttendantMailbox|ExOleDbSystemMailbox)’}| Set-Mailbox -Database <TargetDatabase>
  8. In the last step, trigger the delivery of any message remaining in the queues with the following command:
    Get-Queue <QueueName> | Retry-Queue -Resubmit $true

Once the replication in Active Directory is complete, users can easily access their mailboxes on the new Exchange server. Usually, the users and clients are redirected to the new Exchange environment via Autodiscover. Also, Outlook web users will be redirected to the new Exchange environment.

Verify database restoration

To verify whether the mailboxes are successfully moved to the new Exchange Server, follow any of the below methods:

On opening any of these platforms, you’ll find that the mailboxes have been moved to the new Exchange Server.

Advantages of the Database Portability method

Limitations of the Database Portability method

Even after being a reliable method to move a database from one Exchange to another, there are some limitations to this method, such as:

Alternatives to Database Portability method

You can try several methods as an alternative to the Database Portability method. Some of them are:

Restore Exchange databases to any Exchange version using a friendly tool

Exchange Mailbox Recovery is an authentic tool that helps you restore corrupt or damaged Exchange database files to Exchange Server of any version.

The software eliminates all the limitations of the data portability method for restoring Exchange databases. It repairs and moves EDB files to the Exchange environment and allows users to migrate the Exchange data to various platforms, such as Office 365, PST, live Exchange, etc. It is embedded with some unique and quality features, which include:

These features make it the most useful and recommendable tool for moving data from one Exchange Server to another.

Conclusion

Migrating data from Exchange to Exchange becomes a necessity when you face any corruption errors in the Exchange server or if you want to access new features of the latest versions of Exchange. But, the manual technique is not that much reliable due to its limitations. Therefore, it makes sense to use the Exchange Server Recovery tool to restore the Exchange database files to a new server.