Perform a Dial Tone Recovery
Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Using dial tone portability, users can have a temporary mailbox for sending and receiving e-mail while their original mailbox is being restored or repaired. The temporary mailbox can be on the same Exchange 2010 Mailbox server or on any other Exchange 2010 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.
Prerequisites
You must have fewer than the maximum number of databases deployed to create a dial tone database. Exchange 2010 Standard Edition supports a maximum of 5 databases per server. Exchange 2010 Enterprise Edition supports a maximum of 100 databases per server.
Use the Shell to perform a dial tone recovery on a single server
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Mailbox recovery" entry in the Mailbox Permissions topic.
Note
You can't use the EMC 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 Restore-Mailbox 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.
Get-Mailbox -Database DTDB1 | Restore-Mailbox -RecoveryDatabase RDB1
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:
© 2010 Microsoft Corporation. All rights reserved.