Avatar of Martin Radbo
Martin Radbo
Flag for Sweden asked on

Merge two databases in Exchange 2010

Exchange 2010 updated with service packs, and SBS 2011 (WIndows server 2008).

After a hardware failure we had to run the Exchange server with an empty database for a while to receive/send. Now I have managed to restore the old database.

So I have two normal databases at the same server and want to merge them, i.e. copy the content from the temporary one (that one is very small) to the main database.
Can anyone help me with the exact command?

Temp db name: New
Temp db location: d:\temp\new.edb
Size: 1 GB

Main db name: Mailbox database
Main db location: d:\Exchange\database\Mailbox Database\mailbox database.edb
Size: 110 GB

I can take them both offline (unmount them) if needed..

Thanks in advance
Exchange

Avatar of undefined
Last Comment
Seth Simmons

8/22/2022 - Mon
Andy M

Do both mailboxes effectively have the same mailboxes on them? If so I'm not sure you can merge them in this way, looking at the temp size it would be easier/quicker to export all mailboxes on the temp database to PST files, remove the temp DB, mount the original DB and re-import the PST files back into the mailboxes there.

Alternatively, the following may help if one of the databases is mounted as a recovery DB:

https://docs.microsoft.com/en-us/exchange/high-availability/disaster-recovery/restore-data-using-recovery-dbs
Martin Radbo

ASKER
They have the same mailboxes in both databases, that is correct.
Andy M

In that case, for the sake of 1GB I would just export to PST, remove the DB and re-import the PST's into the original database accordingly.

https://practical365.com/exchange-server/export-mailboxes-exchange-server-2010-sp1/
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
Martin Radbo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
M A

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Martin Radbo

ASKER
YEs, I think "Get-Mailbox" as well as "New-MailboxRestoreRequest" can be used for such situations.
Seth Simmons

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- 'Martin_Radbo' (https:#a42677322)
-- 'MAS' (https:#a42677448)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer