compared with
Current by Nata Ramanenka
on Apr 27, 2012 09:24.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (11)

View Page History
!restore-mailbox.png!

----
h3. 4. Restoring a single user mailbox
9. Confirm your request to recover the mailbox content by clicking "Y."

1. Log onto mailbox server (or any of the Exchange 2010 servers).
2. Startup Exchange Management Shell.
3. Run the following command to create a Recovery Mailbox Database:
{code}Are you sure you want to perform this action?
Recovering mailbox content from mailbox 'Marge Simpson' in the recovery database 'RDB' to the mailbox for 'Marge Simpson (MargeSimpson@simpson.si)'. This operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"):{code}

{code}New-MailboxDatabase -Name "RecoveryDB" -Server EX-MBX01 -EDBFilePath "E:\RDB\DPM_12-31-2009_18.0.59\MDB1\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0091898942\Mailbox Database 0091898942.edb" –Logfolderpath E:\RDB\DPM_12-31-2009_18.0.59\MDB1\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database 0091898942\ -Recovery{code}
h4. More useful commands while restoring a user mailbox


41. To check the database user content, run the following command:
{code}Get-MailboxStatistics –Database "RecoveryDB"{code}

52. To check the state of the database, run the following command:
{code}eseutil /mh '.\Mailbox Database 0091898942.edb'{code}

6. Log onto mailbox server (or any of the Exchange 2010 servers).
3. Bulk restore for all mailboxes:

7. Startup Exchange Management Shell.

8. Run the following command to restore the user mailbox.

{code}Restore-Mailbox -Identity annsmith -RecoveryDatabase "RecoveryDB"{code}

9. Confirm your request to recover the mailbox content.

{code}Are you sure you want to perform this action?
Recovering mailbox content from mailbox 'Jonas Andersson' in the recovery database 'RDB' to the mailbox for 'Jonas Andersson (Jonas.Andersson@testlabs.se)'. This operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"):{code}


10. Bulk restore for all mailboxes:

{code}Get-Mailbox -Database "SourceDB" | Restore-Mailbox -RecoveryDatabase "RecoveryDB"{code}