Link to home
Start Free TrialLog in
Avatar of Romeo Admin
Romeo Admin

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada 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
Avatar of Romeo Admin
Romeo Admin

ASKER

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
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.