Link to home
Start Free TrialLog in
Avatar of Martin Radbo
Martin RadboFlag 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
Avatar of Andy M
Andy M
Flag of United Kingdom of Great Britain and Northern Ireland image

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
Avatar of Martin Radbo

ASKER

They have the same mailboxes in both databases, that is correct.
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/
ASKER CERTIFIED SOLUTION
Avatar of Martin Radbo
Martin Radbo
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
YEs, I think "Get-Mailbox" as well as "New-MailboxRestoreRequest" can be used for such situations.
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