• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 67
  • Last Modified:

I have 8gb one mailbox trying to restore from .EDB but end up only 90mb

I was trying to restore an 8gb mailbox via script below but always getting only around 90mb. Checked the recovered mailbox and only few items in Inbox have been recovered. Please help as i need to restore some of the huge mailboxes badly. Thank you.

New-MailboxRestoreRequest -SourceDatabase <RestoredDB> -SourceStoreMailbox <RestoredUser> -TargetMailbox <TargetUser> -AllowLegacyDNMismatch
Romeo Admin
Romeo Admin
  • 2
1 Solution
Will SzymkowskiSenior Solution ArchitectCommented:
Have you tried adding the -BadItemLimit 1000000?

Romeo AdminIT supportAuthor Commented:
Thanks Will for your prompt response.

Tried to put '-BadItemLimit 1000000 -AcceptLargeDataLoss' but it's giving me the below;

WARNING: When an item can't be read from the source location or can't be written to the target location, it will be
considered corrupted. By specifying a non-zero BadItemLimit, you're requesting that Exchange not copy such items to the
 target location. When the request is complete, such corrupted items won't be available at the target. When the source
is deleted, these items will be completely lost.
New-MailboxRestoreRequest : Source mailbox's legacyExchangeDN '/O=....../OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/
CN=......' doesn't match the legacyExchangeDN or X500 proxy for target mailbox '.......'. Use the 'AllowLegacyDNMismatch
' switch if you want to allow this operation.
At line:1 char:26
Romeo AdminIT supportAuthor Commented:
Opps! added -AllowLegacyDNMismatch and looks now recovering more, will let you know how it goes in a while.
Thank you Will for that great tip.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now