locked
Move exchange 2013 database to another server RRS feed

  • Question

  • Hi everyone

    I have two exchange 2013 servers (mail1- production server) and (mail2- newly installed)

    I need to move exchange database from (mail1) to (mail2)

    how will I achieve that ?

    thanks in advance

    Saturday, November 30, 2013 7:48 AM

Answers

  • Hi,

    The way to move mailboxes from one database to another database is available. When you move a mailbox, you're moving it from a source mailbox database to a target mailbox database. The target mailbox database can be on the same server, on a different server, in a different domain, in a different Active Directory site, or in another forest.

    You can refer to the following articles:

    New-MoveRequest
    http://technet.microsoft.com/en-us/library/dd351123(v=exchg.150).aspx

    Mailbox Moves in Exchange 2013
    http://technet.microsoft.com/en-us/library/jj150543(v=exchg.150).aspx

    Best regards,
    Belinda


    Belinda Ma
    TechNet Community Support

    • Marked as answer by cara chen Sunday, December 8, 2013 4:37 AM
    Wednesday, December 4, 2013 9:51 AM
  • you cannot move a database to another server.

    You have to create a new database on the new server then to move all mailbox form old database located on the old server to  new database located on the new server using the cmdlet :

    Get-mailboxdatabase - identity "old database" | Get-mailbox  | New-MoveRequest -TargetDatabase "New database " -BadItemLimit 5 -BatchName MigratefromOldDatabaseToNewDatabase


    Wednesday, December 4, 2013 9:58 AM

All replies

  • The easiest would be to create a new mailbox database on mail2, and then migrate the mailboxes to that new database. After they are moved you can delete the old database.

    This way you can move the mailboxes with no down-time for the users.


    Working on the backend of hosting and outsourcing.

    Saturday, November 30, 2013 8:55 AM
  • thanks for reply

    but how will I migrate the mailboxes to that new database ?

    Saturday, November 30, 2013 9:57 AM
  • Hi,

    We can use the New-MoveRequest cmdlet to move mailboxes from one database to another.

    Here are related articles which can help you for your reference.

    New-MoveRequest
    http://technet.microsoft.com/en-us/library/dd351123(v=exchg.150).aspx

    Mailbox Moves in Exchange 2013
    http://technet.microsoft.com/en-us/library/jj150543(v=exchg.150).aspx

    Hope this helps.

    Best regards,
    Belinda


    Belinda Ma
    TechNet Community Support

    Monday, December 2, 2013 3:21 AM
  • Once you have created and mounted the new database, use the following powershell command:

    Get-Mailbox -Database <old database> | New-MoveRequest -TargetDatabase <new database>

    Follow with this command to move the system mailboxes:

    Get-Mailbox -Database <old database> -Arbitration | New-MoveRequest -TargetDatabase <new database>

    Once all mailboxes are moved (you can check progress with: Get-MoveRequest), you should be able to remove the old database to free up disk space.

    Try removing the database from the EMC. If you have missed something, or the mailbox move is not complete, you will get an error when trying to remove the database. So it's a fairly low-risk operation.


    Working on the backend of hosting and outsourcing.

    Monday, December 2, 2013 10:30 AM
  • thanks all for reply

    may be my question unclear

    I need to move exchange 2013 database from one server to another

    or

    move mailboxes from one server to another

    I don't know which one is possible

    all your powershell commands don't have any option to specify the target server!!!

    could you please clarify that to me, or may be I missed something...

    thank you

    Wednesday, December 4, 2013 9:17 AM
  • Hi,

    The way to move mailboxes from one database to another database is available. When you move a mailbox, you're moving it from a source mailbox database to a target mailbox database. The target mailbox database can be on the same server, on a different server, in a different domain, in a different Active Directory site, or in another forest.

    You can refer to the following articles:

    New-MoveRequest
    http://technet.microsoft.com/en-us/library/dd351123(v=exchg.150).aspx

    Mailbox Moves in Exchange 2013
    http://technet.microsoft.com/en-us/library/jj150543(v=exchg.150).aspx

    Best regards,
    Belinda


    Belinda Ma
    TechNet Community Support

    • Marked as answer by cara chen Sunday, December 8, 2013 4:37 AM
    Wednesday, December 4, 2013 9:51 AM
  • you cannot move a database to another server.

    You have to create a new database on the new server then to move all mailbox form old database located on the old server to  new database located on the new server using the cmdlet :

    Get-mailboxdatabase - identity "old database" | Get-mailbox  | New-MoveRequest -TargetDatabase "New database " -BadItemLimit 5 -BatchName MigratefromOldDatabaseToNewDatabase


    Wednesday, December 4, 2013 9:58 AM
  • Sorry I didn't see this before, but the way to move a database is by using Mailbox Database Portability:

    http://technet.microsoft.com/en-us/library/dd876926(v=exchg.150).aspx

    You can just copy the database and logs over.

    Tuesday, May 20, 2014 3:36 AM