Perform a dial tone recovery
Applies to: Exchange Server 2013
Using dial tone portability, users can have a temporary mailbox for sending and receiving email while their original mailbox is being restored or repaired. The temporary mailbox can be on the same Exchange 2013 Mailbox server or on any other Exchange 2013 Mailbox server in your organization. The process for using dial tone portability is called a dial tone recovery, which involves creating an empty database on a Mailbox server to replace a failed database. To learn more, see Dial tone portability.
What do you need to know before you begin?
Estimated time to complete: 5 minutes, plus the time it takes to restore and move the data.
You must have fewer than the maximum number of databases deployed to create a dial tone database. Exchange 2013 Standard Edition supports a maximum of five databases per server. Exchange 2013 Enterprise Edition supports a maximum of 50 databases per server in RTM and CU1, and 100 databases per server in CU2 and later.
You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Mailbox recovery" entry in the Recipients Permissions topic.
For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.
Tip
Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server.
Use the Shell to perform a dial tone recovery on a single server
Note
You can't use the EAC to perform a dial tone recovery on a single server.
Make sure that any existing files for the database being recovered are preserved in case they're needed later for further recovery operations.
Use the New-MailboxDatabase cmdlet to create a dial tone database, as shown in this example.
New-MailboxDatabase -Name DTDB1 -EdbFilePath D:\DialTone\DTDB1.EDB
Use the Set-Mailbox cmdlet to rehome the user mailboxes hosted on the database being recovered, as shown in this example.
Get-Mailbox -Database DB1 | Set-Mailbox -Database DTDB1
Use the Mount-Database cmdlet to mount the database so client computers can access the database and send and receive messages, as shown in this example.
Mount-Database -Identity DTDB1
Create a recovery database (RDB) and restore or copy the database and log files containing the data you want to recover into the RDB. For detailed steps, see Create a recovery database.
After the data is copied to the RDB, but before mounting the restored database, copy any log files from the failed database to the recovery database log folder so they can be played against the restored database.
Mount the RDB, and then use the Dismount-Database cmdlet to dismount it, as shown in this example.
Mount-Database -Identity RDB1
Dismount-Database -Identity RDB1
After the RDB is dismounted, move the current database and log files within the RDB folder to a safe location. This is done in preparation for swapping the recovered database with the dial tone database.
Dismount the dial tone database, as shown in this example. Note that your end users will experience an interruption in service when you dismount this database.
Dismount-Database -Identity DTDB1
Move the database and log files from the dial tone database folder into the RDB folder.
Move the database and log files from the safe location containing the recovered database into the dial tone database folder, and then mount the database, as shown in this example.
Mount-Database -Identity DTDB1
This ends the service interruption for your end users. They will be able to access their original production database and send and receive messages.
Mount the RDB, as shown in this example.
Mount-Database -Identity RDB1
Use the Get-Mailbox and New-MailboxRestoreRequest cmdlets to export the data from the RDB and import it into the recovered database, as shown in this example. This will import all the messages sent and received using the dial tone database into the production database.
$mailboxes = Get-Mailbox -Database DTDB1
$mailboxes | %{ New-MailboxRestoreRequest -SourceStoreMailbox $_.ExchangeGuid -SourceDatabase RDB1 -TargetMailbox $_ }
After the restore operation is complete, you can dismount and remove the RDB, as shown in this example.
Dismount-Database -Identity RDB1 Remove-MailboxDatabase -Identity RDB1
For detailed syntax and parameter information, see the following topics:
How do you know this worked?
To verify that you've successfully moved a mailbox, do the following:
Open the mailbox using Outlook Web App.
Open the mailbox using Microsoft Outlook.