User Tools

Site Tools


internet:mail:exchange:exchange

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
internet:mail:exchange:exchange [2019/06/05 10:23]
gcooper
internet:mail:exchange:exchange [2020/01/23 10:41] (current)
gcooper
Line 5: Line 5:
 See also **[[internet:mail:moving_to_new_mailserver|Migrating to a New Mail Server]]** See also **[[internet:mail:moving_to_new_mailserver|Migrating to a New Mail Server]]**
  
-**Install Exchange 2010**: http://www.enterprisenetworkingplanet.com/datacenter/Installing-Exchange-2010-Step-by-Step-3877601.htm+See also **http://www.mustbegeek.com/configure-url-redirection-in-exchange-2013/**
  
 ===== Services Status ===== ===== Services Status =====
Line 129: Line 129:
 https://www.phy2vir.com/restore-a-deleted-mailbox-in-exchange-2013/ https://www.phy2vir.com/restore-a-deleted-mailbox-in-exchange-2013/
  
-Recently deleted databases:+Show recently deleted databases:
  
 <file> <file>
Line 136: Line 136:
  
 Restore a recently deleted mailbox (recreate destination user and mailbox first): Restore a recently deleted mailbox (recreate destination user and mailbox first):
 +
 +<note important>Set the mailbox quota to a high enough value on the destination mailbox or the restore will fail.</note>
  
 <file> <file>
-New-MailboxRestoreRequest -SourceStoreMailbox <MailboxGuid> -SourceDatabase <Database> -TargetMailbox <Target Mailbox Name> -AllowLegacyDNMismatch+New-MailboxRestoreRequest -SourceStoreMailbox <MailboxGuid> -SourceDatabase <Database> -TargetMailbox <Target Mailbox Name> -AllowLegacyDNMismatch -LargeItemLimit Unlimited -AcceptLargeDataLoss 
 + 
 +Get-MailboxRestoreRequest | Get-MailboxRestoreRequestStatistics 
 +</file> 
 + 
 +==== Restore Failures ==== 
 + 
 +https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/resume-mailboxrestorerequest 
 + 
 +Status of restore requests: 
 + 
 +<file> 
 +Get-MailboxRestoreRequest | Get-MailboxRestoreRequestStatistics 
 +</file> 
 + 
 +Collect details of failed restore requests: 
 + 
 +<file> 
 +Get-MailboxRestoreRequest -Status failed | Get-MailboxRestoreRequestStatistics -IncludeReport | format-list > c:\users\"username"\restore_report.txt 
 +</file> 
 + 
 +<file> 
 +Set-MailboxRestoreRequest -Identity "Identity" -LargeItemLimit Unlimited -AcceptLargeDataLoss 
 +</file> 
 + 
 +Always use ''New-MailboxRestoreRequest'', but you can try the older ''Restore-Mailbox'' as a fallback. 
 + 
 +Cleanup: 
 + 
 +<file> 
 +Get-MailboxRestoreRequest -Status Completed | Remove-MailboxRestoreRequest
 </file> </file>
  
 ===== Mailbox Recovery ===== ===== Mailbox Recovery =====
  
-:!: You may need to do a database recovery first!+:!: **You may need to do a database repair first**!
  
 https://gallery.technet.microsoft.com/office/Recover-mailbox-from-edb-0635d717 https://gallery.technet.microsoft.com/office/Recover-mailbox-from-edb-0635d717
Line 236: Line 268:
 ===== Database Recovery ===== ===== Database Recovery =====
  
 +:!: **If you can, restore the mailboxes without restoring from backup**.
  
 +Here we have **restored the database and log files from backup**:
  
-===== Export Mailbox from Recovery Database =====+Check for Clean Shutdown: 
 + 
 +<file> 
 +eseutil /mh "x:\path\to\restored\mailboxdb.edb" 
 +</file> 
 + 
 +Create a new recovery database in Exchange using the restored databse file and logs: 
 + 
 +<file> 
 +New-MailboxDatabase -Recovery -Name RecoveryDB -Server SERVERNAME -EdbFilePath "x:\path\to\restored\mailboxdb.edb" -LogFolderPath "x:\path\to\restored\logs\" 
 + 
 +Get-MailboxStatistics -Database RecoveryDB | ft –auto 
 +</file> 
 + 
 +===== Recover Mailbox from Recovery Database =====
  
 https://converteredbtopst.wordpress.com/2017/08/29/export-mailbox-from-recovery-database-exchange-2013-to-pst/ https://converteredbtopst.wordpress.com/2017/08/29/export-mailbox-from-recovery-database-exchange-2013-to-pst/
Line 256: Line 304:
 </file> </file>
  
-:!: To export to PST, you must recover the mailbox first.+Cleanup:
  
 <file> <file>
-New-MailboxExportRequest -Mailbox username -FilePath \\server\share\path\username.pst+Get-MailboxRestoreRequest -Status Completed | Remove-MailboxRestoreRequest
 </file> </file>
  
-Cleanup:+===== Export Mailbox to PST ===== 
 + 
 +:!: To export to PST, you must recover the mailbox first.
  
 <file> <file>
-Get-MailboxRestoreRequest -Status Completed Remove-MailboxRestoreRequest+New-MailboxExportRequest -Mailbox username -FilePath \\server\share\path\username.pst 
 + 
 +Get-MailboxExportRequest Get-MailboxExportRequestStatistics
 </file> </file>
  
internet/mail/exchange/exchange.1559751823.txt.gz · Last modified: 2019/06/05 10:23 by gcooper