How do I switch to the LCR copy of a database?
October 23, 2007
A. If you need to switch to the LCR copy of an Exchange 2007 database and logs, make sure the Store is dismounted, then switch to the LCR via the command below, then mount the Store, which will now point to the LCR location.
Restore-StorageGroupCopy -Identity “First Storage Group” -ReplaceLocations
Here's a sample execution:
Restore-StorageGroupCopy -Identity "first storage group" -ReplaceLocations
Base name: e00
Log file: C:Program FilesMicrosoftExchange ServerMailboxFirst StorageGroupE000000004B.log
Csv file: C:lcrsg1IgnoredLogs2hxlr2sh.vg4
Base name: e00
Log file: C:lcrsg1E000000004B.log
Csv file: C:lcrsg1IgnoredLogsga04zlyg.n0o
Integrity check passed for log file: C:lcrsg1inspectorE00.log
WARNING: The Restore-StorageGroupCopy operation for storage group copy First Storage Group was successful, and production paths were updated. All logs were successfully copied.
About the Author
You May Also Like