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:14]
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 149: Line 181:
 https://www.nucleustechnologies.com/blog/how-to-restore-exchange-2016-mailboxes/ https://www.nucleustechnologies.com/blog/how-to-restore-exchange-2016-mailboxes/
  
-===== Database Recovery =====+===== Database Repair =====
  
 <note warning>**Database repair operations will use a huge amount of disk space and create huge temp files!**  You can cause greater problems than you already have if you ignore this!</note> <note warning>**Database repair operations will use a huge amount of disk space and create huge temp files!**  You can cause greater problems than you already have if you ignore this!</note>
Line 232: Line 264:
 <file> <file>
 isinteg -s servername -fix -test alltests isinteg -s servername -fix -test alltests
 +</file>
 +
 +===== 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:
 +
 +<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/
 +
 +<file>
 +Get-MailboxStatistics -Database RecoveryDB | where displayname -eq "User Name"
 +</file>
 +
 +:!: You must add ''-AllowLegacyDNMismatch'' if you merge to a new account.
 +
 +:!: Add ''-TargetRootFolder'' if desired.
 +
 +<file>
 +New-MailboxRestoreRequest -SourceDatabase RecoveryDB -SourceStoreMailbox "SourceUser Name" -TargetMailbox "TargetUser Name" -AllowLegacyDNMismatch -TargetRootFolder "Restored Items"
 +
 +Get-MailboxRestoreRequest | Get-MailboxRestoreRequestStatistics
 +</file>
 +
 +Cleanup:
 +
 +<file>
 +Get-MailboxRestoreRequest -Status Completed | Remove-MailboxRestoreRequest
 +</file>
 +
 +===== Export Mailbox to PST =====
 +
 +:!: To export to PST, you must recover the mailbox first.
 +
 +<file>
 +New-MailboxExportRequest -Mailbox username -FilePath \\server\share\path\username.pst
 +
 +Get-MailboxExportRequest | Get-MailboxExportRequestStatistics
 </file> </file>
  
internet/mail/exchange/exchange.1559751288.txt.gz · Last modified: 2019/06/05 10:14 by gcooper