I appear to have a problem - and it keeps coming back (3 times so far).
I am trying to setup SCR in our exchange environment, and am using the following link as my guide:
I can get the replication working, and see all the files populate on the standby server. The replication status is always healthy, and then it then comes for me to recover...
- I pull the Network Cable from the back of Server 1 (pretending it has died)
- Logon to Server 2 and run this command:
Restore-StorageGroupCopy "Server1\My Storage Group" -StandbyServer Server2 -force
- Then run this command to check the health of the database:
ESEUTIL /MH "E:\Exchange Server\Mailbox\My Storage Group\My Mailbox Database.edb"
to be told the database is in a dirty shutdown (as expected)
* This is where it ALWAYS goes wrong *
I am then told to do a recovery of the database, so I run:
eseutil.exe /R E04 /l "D:\Exchange Logs\Mailbox\My Storage Group\Log" /S "D:\Exchange Logs\Mailbox\My Storage Group\Log" /D "E:\Exchange Server\Mailbox\My Storage Group\My Mailbox Database.edb"
to then be told:
Operation terminated with error -1216 (JET_errAttachedDatabaseMi
smatch, An outstanding database attachment has been detected at the start or end of recovery, but database is missing or does not match attachment info) after 1.656 seconds.
My problem is it's ALWAYS the above error. I have trashed 2 mailbox stores and tried again from scratch, and this 3rd time i've run with different names and different test mailboxes, but still get the same error at exactly the same point.
If anyone has any ideas, they will be greatly received and rewarded.
Thanks in advance,