sglee
asked on
Mailbox Restore
I have SBS2011/Exchange 2010 and needed to restore a user mailbox. The user deleted a lot of files and the user does not remember which folders he deleted emails from.
So I have decided to restore his mailbox from Windows Server Backup. I succeeded in creating Recovery Database called "RecoveryDB" and mounted it in Exchange Server.
When I run Get-MailboxStatistics -Database RecoveryDB, it shows similar amount of emails for that user mailbox.
My question is how can I export all the emails from restored user mailbox into PST file?
If I can create PST file, then I can import that into his Outlook.
I am aware that I need to use New-MailboxRestoreRequest comand, but not sure what the exact syntax should be. Can you help me with that? Let's use the name "John Doe" with login name "jdoe".
Again, I like to know how I can extract all emails from recovered "John Doe" mailbox and create a PST so that I can open his current Outlook and import everything from PST file.
So I have decided to restore his mailbox from Windows Server Backup. I succeeded in creating Recovery Database called "RecoveryDB" and mounted it in Exchange Server.
When I run Get-MailboxStatistics -Database RecoveryDB, it shows similar amount of emails for that user mailbox.
My question is how can I export all the emails from restored user mailbox into PST file?
If I can create PST file, then I can import that into his Outlook.
I am aware that I need to use New-MailboxRestoreRequest comand, but not sure what the exact syntax should be. Can you help me with that? Let's use the name "John Doe" with login name "jdoe".
Again, I like to know how I can extract all emails from recovered "John Doe" mailbox and create a PST so that I can open his current Outlook and import everything from PST file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@Ivan
I am getting an error after running this command:
New-MailboxRestoreRequest -SourceDatabase RecoveryDB -SourceStoreMailbox "William Jefferson" -TargetMailbox 'BJefferson@domain.com
Source mailbox's legacyExchangeDN '/O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIP IENTS/CN=W illiam Jefferson59' doesn't match the legacyExchangeDN or X500 proxy for target mailbox 'Bill Jefferson'. Use the 'AllowLegacyDNMismatch' switch if you want to allow this operation.
+ CategoryInfo : InvalidArgument: (RDole:MailboxOrMailUserId Parameter) [New-MailboxRestoreRequest ], NonMatchingLegacyDNPermane ntExceptio n
+ FullyQualifiedErrorId : AF354954,Microsoft.Exchang e.Manageme nt.Recipie ntTasks.Ne wMailboxRe storeReque st
Let me explain about what we have in the Exchange Server. There are only two mailboxes and I am using fictitious names here:
User Name Login Name Email Address Email Count Note
---------------- ------------------ --------------------- ------------------- -------------------------- --
William Jefferson WJefferson WJefferson@domain.com 300,000 (59GB) being used to login to SBS network
Bill Jefferson BJefferson BJefferson@domain.com 0 (0 byte) Account exists, but not being used.
My goal is to restore 300,000 emails (59GB) that William Jefferson mailbox account has and create a PST. Is it possible to create a PST file directly out of RecoveryDB?
If not, can I restore William Jefferson's 300,000 emails from RecoveryDB and restore them into Bill Jefferson's account so that I can log in as Bill Jefferson, open Outlook and export all emails into a PST?
I DO NOT WANT to restore William Jefferson emails in RecoveryDB directly into William Jefferson's current/production mailbox. I just like to create a PST from RecoveryDB and then import that PST into William Jefferson's current mailbox using Outlook Import function.
I am getting an error after running this command:
New-MailboxRestoreRequest -SourceDatabase RecoveryDB -SourceStoreMailbox "William Jefferson" -TargetMailbox 'BJefferson@domain.com
Source mailbox's legacyExchangeDN '/O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIP
+ CategoryInfo : InvalidArgument: (RDole:MailboxOrMailUserId
+ FullyQualifiedErrorId : AF354954,Microsoft.Exchang
Let me explain about what we have in the Exchange Server. There are only two mailboxes and I am using fictitious names here:
User Name Login Name Email Address Email Count Note
---------------- ------------------ --------------------- ------------------- --------------------------
William Jefferson WJefferson WJefferson@domain.com 300,000 (59GB) being used to login to SBS network
Bill Jefferson BJefferson BJefferson@domain.com 0 (0 byte) Account exists, but not being used.
My goal is to restore 300,000 emails (59GB) that William Jefferson mailbox account has and create a PST. Is it possible to create a PST file directly out of RecoveryDB?
If not, can I restore William Jefferson's 300,000 emails from RecoveryDB and restore them into Bill Jefferson's account so that I can log in as Bill Jefferson, open Outlook and export all emails into a PST?
I DO NOT WANT to restore William Jefferson emails in RecoveryDB directly into William Jefferson's current/production mailbox. I just like to create a PST from RecoveryDB and then import that PST into William Jefferson's current mailbox using Outlook Import function.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That worked. MailboxRestore is Queued.
I have two questions:
(1) Where is this RecoveryDB.edb located?
(2) in New-MailboxRestoreRequest -SourceDatabase RecoveryDB -SourceStoreMailbox "William Jefferson" -TargetMailbox 'BJefferson@domain.com" -AllowLegacyDNMismatch command, could i have used "Bill Jefferson" instead of 'BJefferson@domain.com"? Why use mailbox name when providing SourceStoreMailbox and spell out email address in TargetMailbox?
I have two questions:
(1) Where is this RecoveryDB.edb located?
(2) in New-MailboxRestoreRequest -SourceDatabase RecoveryDB -SourceStoreMailbox "William Jefferson" -TargetMailbox 'BJefferson@domain.com" -AllowLegacyDNMismatch command, could i have used "Bill Jefferson" instead of 'BJefferson@domain.com"? Why use mailbox name when providing SourceStoreMailbox and spell out email address in TargetMailbox?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
"RecoveryDb should be in location that you have specify whit command, such as bellow:"
The folder name that I designated for this job is C:\ExchangeRecovery and that is where "Mailbox Database.edb" (restored from Windows Server Backup) resides. I see a new folder "C:\ExchangeRecovery\Catal ogData-0b7 81435-afb4 -4996-8201 -0bff45eaa a48-e0f2d5 14-429b-4f aa-b720-26 4ccd065363 " and when I opened this folder, I see a lot of *.ci files.
The folder name that I designated for this job is C:\ExchangeRecovery and that is where "Mailbox Database.edb" (restored from Windows Server Backup) resides. I see a new folder "C:\ExchangeRecovery\Catal
ASKER
Now I have got all the emails that I needed from the backup, the whole process has taken up about 120GB of disk space. Once I export all emails in BJefferson into a PST file, can I just delete all these files in C:\ExchangeRecovery folder?
Should I dismount "RecoveryDB"? Is there a command to purge (or delete) all the emails in BJefferson's mailbox after a PST file is created?
Should I dismount "RecoveryDB"? Is there a command to purge (or delete) all the emails in BJefferson's mailbox after a PST file is created?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@Ivan
Thanks for all of your help and I appreciate it.
Thanks for all of your help and I appreciate it.
ASKER
One last question deleting emails that belong to BJefferson:
Which method would provide immediate release of disk space on the file server hard drive?
(1) deleting the user account from SBS2011 Console or
(2) Search-Mailbox -Identity BJefferson@domain.com -DeleteContent
Which method would provide immediate release of disk space on the file server hard drive?
(1) deleting the user account from SBS2011 Console or
(2) Search-Mailbox -Identity BJefferson@domain.com -DeleteContent
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I ran search-mailbox -identity "BJefferson@domain.com" -deletecontent and it took hours to complete, but freed up HD space immediately.
I had 159GB Free HD space before deleting Bill Jefferson's mailbox. After deleting his mailbox, the server now shows 199GB Free space.
I had 159GB Free HD space before deleting Bill Jefferson's mailbox. After deleting his mailbox, the server now shows 199GB Free space.
ASKER
I have a question.
Where is this RecoveryDB.edb located? I can't find it anywhere in C:\ExchangeRecovery folder. Since the production mailbox database.edb is 59GB (as shown in the screenshot of C:\ExchangeRecovery folder) and there is only one mailbox account in this mailbox database, would RecoveryDB.edb have about the same size 59GB? But I can't find it even if it shows mounted in Exch Mgmt Console.