Share via


Perform dial tone recovery in Exchange Server

APPLIES TO: yes-img-162016 yes-img-192019 yes-img-seSubscription Edition

The process for using dial tone portability is known as 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.

  • Your organization needs to have less than the maximum number of allowed databases to create a new dial tone database:

    • Exchange Standard Edition: The maximum is five databases per server.
    • Exchange Enterprise Edition: This maximum is 100 databases per server.
  • 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 article.

  • For information about keyboard shortcuts that might apply to the procedures in this article, see Keyboard shortcuts in the Exchange admin center.

Tip

Having problems? Ask for help in the Exchange Server forum at Exchange | Exchange Server | Management.

Use the Exchange Management Shell to perform a dial tone recovery on a single server

Note

You can't use the Exchange admin center (EAC) to perform a dial tone recovery on a single server.

  1. Make sure that any existing files for the database being recovered are preserved in case they're needed later for further recovery operations.

  2. 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
    
  3. 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
    
  4. 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
    
  5. 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.

  6. After the data is copied to the RDB, but before mounting the restored database, copy any log files from the failed database to the RDB log folder to play against the restored database.

  7. 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
    
  8. After the RDB is dismounted, move the current database and log files within the RDB folder to a safe location. This step prepares for swapping the recovered database with the dial tone database.

  9. Dismount the dial tone database, as shown in this example. Users experience an interruption in service when you dismount this database.

    Dismount-Database -Identity DTDB1
    
  10. Move the database and log files from the dial tone database folder into the RDB folder.

  11. 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 users. They can access their original production database and send and receive messages.

  12. Mount the RDB, as shown in this example.

    Mount-Database -Identity RDB1
    
  13. 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 step imports 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 $_ }
    
  14. 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 articles:

How do you know you successfully performed a dial tone recovery?

To verify you successfully performed a dial tone recovery, do the following steps:

  • Open the mailbox using Outlook on the web.
  • Open the mailbox using Microsoft Outlook.