Here are some field notes from a recent Exchange 2010 Retention and Archive case. We had to get data back from the Online Archive and back into the users mailbox, to it’s original location.
There are several ways of getting data back from an Exchange Online Archiving into the Mailbox of the user. One way is having the user copy the data back manually from his/her archive into their inbox using drag and drop.
Another way, which is described in this post – is to do it centrally on the Exchange 2010 Server using the New-MailboxExportRequest and New-MailboxImportRequest PowerShell commands.
To get statistics about the Archive content, see my blog post: Exchange 2010 Archive Mailbox Statistics PowerShell script.
Permissions to use the cmdlets
Make sure you have the permissions to run the Export and Import cmdlets.
Run the Exchange Management Shell elevated as Administrator
If your account does not have permissions to run the New-MailboxExportRequest and New-MailboxImportRequest cmdlets, then run the follow RBAC command:
New-ManagementRoleAssignment -Role "Mailbox Import Export" –User Domain\AdminAccount
Export the archive to a PST file
The mailbox used in the example below is “IT”.
Run the following cmdlet to Export the Online Archive of the mailbox IT to a PST file located on a fileshare:
New-MailboxExportRequest –Mailbox IT -IsArchive -FilePath \\fileshare\PST\ITarchive.pst
It is important to remember the parameter “-IsArchvie” which states that it is the online archive of the IT mailbox that gets exported.
Check status of the Export using the cmdlet:
Get-MailboxExportRequest
Import the exported PST file into the mailbox
The mailbox used in the example below is still “IT”.
Run the following cmdlet to Import the PST file (containing the Online Archive) into the IT mailbox and to the original location of the content:
New-MailboxImportRequest -Mailbox IT -FilePath \\fileshare\PST\ITarchive.pst
If you want to import the content of the PST file into e.g. a specific folder within the mailbox, use this command instead:
New-MailboxImportRequest -Mailbox IT -FilePath \\fileshare\PST\ITarchive.pst -TargetRootFolder "RecoveredFiles"
Check status of the Export using the cmdlet:
Get-MailboxImportRequest
Reference information about using Export and Import cmdlets
Here is some reference information about using those cmdlets below:
Follow Me