Friday, April 11, 2008

Disaster Recovery

Mailbox Recovery process:




1)Use the database recovery management tool.




2)Build a recovery storage group.




3)Restore the source database from backup to the new RSG.







4)Mount the restore database in the RSG.




5)Select mailbox merge options.




6)Run extraction->import of mail item.





To recover an entire deleted mailbox, a new mailbox one can be created and the restore data can be merged into it.




Recently deleted(last 30 days) mailbox can be reconnected using the disconnected mailbox tool in the EMC.





Recovering the Store:




Two options for recovery:




a)LCR/SCR copy of the databse.





b)Restore databse from an exchange-aware backup.




LCR Recovery:




http://www.msexchange.org/tutorials/Demystifying-Local-Continuous-Replication-LCR.html





a)Take corrupted store offline if needed.





b) Run Restore-storagegroupCopy -identity "First Storage Group" -ReplaceLocations





1)swap mount point to make LCR copy the live one.





2)or use the Replacelocation parameter





c)Mount the databse copy.




Recovery from backup to Original server:




a)Dismount the target databse.





b)Set the database for overwritten.





c)Select the exchange-aware restore and run it.




Mail databse can be restored on a separate server:





http://www.msexchange.org/tutorials/Moving-Exchange-Server-2007-database-Mailbox-servers.html





Remember that database are portable.





Restore can be made to any exchange 2007 mailbox server in the organization.





a)Target SG will need a new mailbox database created first(same name!)





b)Restore .edb file and logs to the SG data directory.





c)mount the database in the EMC.





d)Run the cmdlet to properly associate the mailbox with the new server:





get-mailbox –database move-mailbox –targetdatabase -configurationonly:$true





e)outlook 2007 clients will automatically reconfigure to find mailbox.





Public folder databases cannot be restored to another server.










How to recover after a fried/drowned/stolen server:

http://www.msexchange.org/tutorials/Recovering-Exchange-2007-Server-RecoverServer-switch.html



1)Build a new server with the same name and join it to the domain.





a)Reset the computer account in the active directory before joining the replacement.





b)Create identical partition/disks(size can be larger).





c)install required windows components and exchange role prerequisites.





2)Run exchange setup.exe from command-line using the /M:RecoverServer switch
a)will restore all roles and basic configs(things found in Org-level config).





b)Will not restore certs,databases,receive connectors,etc(server-level).





3)Create new storage recovery groups.





4)Recover mail and public folder databases from backup.





a)For recoveries from NTbackup,media will have to be cataloged prior to restore.





b)If public folder were replicated,recovery from backup won't be necessary




Another recovery path if recovery is to the original hardware:




a)Reinstall windows 2003 server and bring up to proper path level.




b)Install needed windows components and prerequisites.




c)Restore all exchange program directories and system state.




d)Restore database to proper location.




Clone an edge role server's configuration for later restoring.http://www.msexchange.org/articles_tutorials/exchange-server-2007/high-availability-recovery/exchange-server-2007-edge-server-backup-cloning.html






Vedio- http://www.msexchange.org/articles_tutorials/videos/exchange-server-2007/high-availability-recovery/recovering-exchange-2007-recoverserver-switch.html



Clone an edge server configuration:


Export:


Ems ->cd 'program files'


c:\program files>cd microsoft


c:\program files\microsoft>cd 'exchange server'


c:\program files\microsoft\exchange server>cd scripts


c:\program files\microsoft\exchange server\scripts./ExportEdgeConfig -cloneConfigData:"C:\CloneConfigData.xml


Import:


c:\program files\microsoft\exchange server\scripts./importedgeconfig.ps1 -cloneConfigData "C:\CloneConfigData.xml" -isImport $true -CloneConfigAnswer "C:\CloneConfigAnswer.xml"


With the help of ESEUTIL you can defragment your Exchange information store offline

http://www.msexchange.org/tutorials/Exchange-ISINTEG-ESEUTIL.html