Exchange 2019 switch to empty DB

MDF 0 Reputation points
2023-04-18T19:28:11.92+00:00

Good morning, I have my exchange server 2019 on win2019 server. The user's mailbox database, .edb file is too big (more than 30GB). I need to archive this database and start with a new empty database. The users (outlook 2019) must view the new and the old email. How can I do this change of DB? Thanks.

Exchange Exchange Server Other
Windows for business Windows Server User experience Other
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,751 Reputation points
    2023-04-20T09:08:18.8066667+00:00

    Hello Thank you for your question and reaching out. I can understand you are having query\issues related to Exchange. You have to move to a new Mailbox in Order to end up with a smaller Database

    Get-MailboxDatabase -Status | Select-Object Name, DatabaseSize, AvailableNewMailboxSpace | Format-Table -AutoSize Then create a new Mailbox Database and use the New-MoveRequest commandlet to move the Mailboxes to a new Mailbox Database. Get-Mailbox -Database MYOldDB New-MoveRequest -Identity <Identity> -TargetDatabase "MYNewDB" --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. Xuyan Ding - MSFT 7,601 Reputation points
    2023-04-21T08:53:58.8333333+00:00

    Hi @MDF ,

    I need to archive this database and start with a new empty database. The users (outlook 2019) must view the new and the old email.

    You can choose to move the primary mailbox to the new database, keeping the archive mailbox in the old database. Please follow the article below to create a local move request with the EAC or use the New-MailboxMove cmdlet. Manage on-premises mailbox moves in Exchange Server.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.