Replicate database and log to other exchange server
I have 2 Exchange Server 2010 - server A and server B and running DAG. one database on server A is corrupt. I tried to fix it but still cannot mount the corrupt database. I would like to remove the corrupt database and log folder from server A and copy the database to server A from server B. Could provide detail procedure? Thank you!
June 4th, 2015 4:21am

Hi,

Following are the procedure (Not exactly copy db and logs will work)

1.Remove failed copy -https://technet.microsoft.com/en-us/library/dd298164(v=exchg.141).aspx

2. Add DAG Copy - https://technet.microsoft.com/en-us/library/dd298080(v=exchg.141).aspx

Free Windows Admin Tool Kit Click here and download it now
June 4th, 2015 4:33am

Hello Gordon,

firstly try to update the existing corrupted copy by run (update is reseed)

Update-MailboxDatabaseCopy -Identity DB1\ServerA -SourceServer ServerB

if also not working do the following steps (remove the corrupted database from Server A and reseed it again)

  1. log on Server A
  2. Open Exchange Management Shell 
  3. run the following command (Remove-MailboxDatabaseCopy -Identity DB1\ServerA)
  4. Delete the EDB files and logs (physically) from partitions
  5. add database copy (Add-MailboxDatabaseCopy -Identity DB1 -MailboxServer ServerA -ActivationPreference 2)

thanks 

  • Proposed as answer by Satyajit321 20 hours 12 minutes ago
June 4th, 2015 6:27am

Hello Gordon,

firstly try to update the existing corrupted copy by run (update is reseed)

Update-MailboxDatabaseCopy -Identity DB1\ServerA -SourceServer ServerB

if also not working do the following steps (remove the corrupted database from Server A and reseed it again)

  1. log on Server A
  2. Open Exchange Management Shell 
  3. run the following command (Remove-MailboxDatabaseCopy -Identity DB1\ServerA)
  4. Delete the EDB files and logs (physically) from partitions
  5. add database copy (Add-MailboxDatabaseCopy -Identity DB1 -MailboxServer ServerA -ActivationPreference 2)

thanks 

  • Proposed as answer by Satyajit321 Thursday, June 04, 2015 11:16 AM
Free Windows Admin Tool Kit Click here and download it now
June 4th, 2015 10:26am

Hello Gordon,

firstly try to update the existing corrupted copy by run (update is reseed)

Update-MailboxDatabaseCopy -Identity DB1\ServerA -SourceServer ServerB

if also not working do the following steps (remove the corrupted database from Server A and reseed it again)

  1. log on Server A
  2. Open Exchange Management Shell 
  3. run the following command (Remove-MailboxDatabaseCopy -Identity DB1\ServerA)
  4. Delete the EDB files and logs (physically) from partitions
  5. add database copy (Add-MailboxDatabaseCopy -Identity DB1 -MailboxServer ServerA -ActivationPreference 2)

thanks 

  • Proposed as answer by Satyajit321 Thursday, June 04, 2015 11:16 AM
June 4th, 2015 10:26am

Hi Abdelrahman M-Attia,

I have some question.

About Step 3, I need to dismount the corrupt database first? 

About Step 5. Is it run the command on Server B? Could I use EMC to finish this task? like below link.

Add DAG Copy - https://technet.microsoft.com/en-us/library/dd298080(v=exchg.141).aspx

Thank you very much!


Free Windows Admin Tool Kit Click here and download it now
June 4th, 2015 10:29pm

One more question, need to remove CatalogData?

Hi Abdelrahman M-Attia,

I have some question.

About Step 3, I need to dismount the corrupt database first? 

About Step 5. Is it run the command on Server B? Could I use EMC to finish this task? like below link.

Add DAG Copy - https://technet.microsoft.com/en-us/library/dd298080(v=exchg.141).aspx

Thank you very much!



June 5th, 2015 12:07am

Thanks 

Step 3
the mount or dismount operations just working on Active Database copy, you can't able to dismount any passive database copy, but you can to activate passive then it's switched over to be Active copy with status Mounted.

Active Copy >> Mounted

Passive Copies >> Health

thus when i need to add or remove copy.... it's not mandatory to dismount the active database (Mounted), the only way that require to dismount the active copy when you do (Manually copying the offline database) or (Offline Seeding ) and that is in another scenario :) not your scenario.

Step 5
you can run the command  on any of both servers ..... also you can use EMC for (Remove and Add mailbox database copy),

add copy your URL is perfect :)

also see the below link for remove mailbox database copy 

https://technet.microsoft.com/en-us/library/dd298164(v=exchg.141).aspx

Thanks

Free Windows Admin Tool Kit Click here and download it now
June 5th, 2015 5:32am

Thanks 

Step 3
the mount or dismount operations just working on Active Database copy, you can't able to dismount any passive database copy, but you can to activate passive then it's switched over to be Active copy with status Mounted.

Active Copy >> Mounted

Passive Copies >> Health

thus when i need to add or remove copy.... it's not mandatory to dismount the active database (Mounted), the only way that require to dismount the active copy when you do (Manually copying the offline database) or (Offline Seeding ) and that is in another scenario :) not your scenario.

Step 5
you can run the command  on any of both servers ..... also you can use EMC for (Remove and Add mailbox database copy),

add copy your URL is perfect :)

also see the below link for remove mailbox database copy 

https://technet.microsoft.com/en-us/library/dd298164(v=exchg.141).aspx

Thanks

June 5th, 2015 9:31am

Thanks 

Step 3
the mount or dismount operations just working on Active Database copy, you can't able to dismount any passive database copy, but you can to activate passive then it's switched over to be Active copy with status Mounted.

Active Copy >> Mounted

Passive Copies >> Health

thus when i need to add or remove copy.... it's not mandatory to dismount the active database (Mounted), the only way that require to dismount the active copy when you do (Manually copying the offline database) or (Offline Seeding ) and that is in another scenario :) not your scenario.

Step 5
you can run the command  on any of both servers ..... also you can use EMC for (Remove and Add mailbox database copy),

add copy your URL is perfect :)

also see the below link for remove mailbox database copy 

https://technet.microsoft.com/en-us/library/dd298164(v=exchg.141).aspx

Thanks

Free Windows Admin Tool Kit Click here and download it now
June 5th, 2015 9:31am

Thank you for your detail information! I will try to update the existing corrupted copy by EMC but I would like to confirm the steps first.

1. EMC -> Organization Configuration ->Mailbox ->Select "Database"

2. Under "Database Copies", right click corrupt database copy and select "Update Database Copy"

3. In "Update Database Copy" select source server and available group, and choose "Delete them and continue the update process" and "Automatically resume data replication from the active database ......."

Is it remove the corrupt DB and Log data first? Because my drive space cannot allow store new copy and corrupt DB. 

June 7th, 2015 10:08pm

Hi,

We need remove corrupted database copy instead of update database copy.
You can right click corrupt database copy and select Remove, then remove the relevant EDB file and log file from disk as well.
At last, re-add database copy like Abdelrahman first replied.

Free Windows Admin Tool Kit Click here and download it now
June 10th, 2015 5:31am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics