How do I switch to the LCR copy of a database?

John Savill

October 23, 2007

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like