This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
internet:mail:exchange:exchange [2019/06/05 10:13] gcooper |
internet:mail:exchange:exchange [2020/01/23 10:41] (current) gcooper |
||
---|---|---|---|
Line 5: | Line 5: | ||
See also **[[internet: | See also **[[internet: | ||
- | **Install Exchange 2010**: | + | See also **http:// |
===== Services Status ===== | ===== Services Status ===== | ||
Line 128: | Line 128: | ||
https:// | https:// | ||
+ | |||
+ | Show recently deleted databases: | ||
+ | |||
+ | < | ||
+ | Get-MailboxDatabase | Get-MailboxStatistics | Where {$_.DisconnectReason -eq " | ||
+ | </ | ||
+ | |||
+ | Restore a recently deleted mailbox (recreate destination user and mailbox first): | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | < | ||
+ | New-MailboxRestoreRequest -SourceStoreMailbox < | ||
+ | |||
+ | Get-MailboxRestoreRequest | Get-MailboxRestoreRequestStatistics | ||
+ | </ | ||
+ | |||
+ | ==== Restore Failures ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | Status of restore requests: | ||
+ | |||
+ | < | ||
+ | Get-MailboxRestoreRequest | Get-MailboxRestoreRequestStatistics | ||
+ | </ | ||
+ | |||
+ | Collect details of failed restore requests: | ||
+ | |||
+ | < | ||
+ | Get-MailboxRestoreRequest -Status failed | Get-MailboxRestoreRequestStatistics -IncludeReport | format-list > c: | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Set-MailboxRestoreRequest -Identity " | ||
+ | </ | ||
+ | |||
+ | Always use '' | ||
+ | |||
+ | Cleanup: | ||
+ | |||
+ | < | ||
+ | Get-MailboxRestoreRequest -Status Completed | Remove-MailboxRestoreRequest | ||
+ | </ | ||
===== Mailbox Recovery ===== | ===== Mailbox Recovery ===== | ||
- | :!: You may need to do a database | + | :!: **You may need to do a database |
https:// | https:// | ||
Line 137: | Line 181: | ||
https:// | https:// | ||
- | ===== Database | + | ===== Database |
<note warning> | <note warning> | ||
Line 220: | Line 264: | ||
< | < | ||
isinteg -s servername -fix -test alltests | isinteg -s servername -fix -test alltests | ||
+ | </ | ||
+ | |||
+ | ===== Database Recovery ===== | ||
+ | |||
+ | :!: **If you can, restore the mailboxes without restoring from backup**. | ||
+ | |||
+ | Here we have **restored the database and log files from backup**: | ||
+ | |||
+ | Check for Clean Shutdown: | ||
+ | |||
+ | < | ||
+ | eseutil /mh " | ||
+ | </ | ||
+ | |||
+ | Create a new recovery database in Exchange using the restored databse file and logs: | ||
+ | |||
+ | < | ||
+ | New-MailboxDatabase -Recovery -Name RecoveryDB -Server SERVERNAME -EdbFilePath " | ||
+ | |||
+ | Get-MailboxStatistics -Database RecoveryDB | ft –auto | ||
+ | </ | ||
+ | |||
+ | ===== Recover Mailbox from Recovery Database ===== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | < | ||
+ | Get-MailboxStatistics -Database RecoveryDB | where displayname -eq "User Name" | ||
+ | </ | ||
+ | |||
+ | :!: You must add '' | ||
+ | |||
+ | :!: Add '' | ||
+ | |||
+ | < | ||
+ | New-MailboxRestoreRequest -SourceDatabase RecoveryDB -SourceStoreMailbox " | ||
+ | |||
+ | Get-MailboxRestoreRequest | Get-MailboxRestoreRequestStatistics | ||
+ | </ | ||
+ | |||
+ | Cleanup: | ||
+ | |||
+ | < | ||
+ | Get-MailboxRestoreRequest -Status Completed | Remove-MailboxRestoreRequest | ||
+ | </ | ||
+ | |||
+ | ===== Export Mailbox to PST ===== | ||
+ | |||
+ | :!: To export to PST, you must recover the mailbox first. | ||
+ | |||
+ | < | ||
+ | New-MailboxExportRequest -Mailbox username -FilePath \\server\share\path\username.pst | ||
+ | |||
+ | Get-MailboxExportRequest | Get-MailboxExportRequestStatistics | ||
</ | </ | ||