Link to home
Start Free TrialLog in
Avatar of consultant49045
consultant49045Flag for United States of America

asked on

A Question Regarding Recovering Mailboxes from a Recovery Storage Group for Archiving Purposes.

I have been given the task of restoring emails for an entire organization of about 75 users from the past three years so that we can archive them and reference them when needed for FOIA requests and the like.

How I planned to achieve this was by restoring the entire Exchange database from each month's end backup to a recovery storage group, and then moving the relevant mailboxes from that storage group into a folder (one folder for each month) in a mailbox on the live server that was created specifically for this purpose.

So in other words, I would have a live mailbox called EmailArchive with folders for each month such as 12-14, 11-14 and so on.

Within those folders would be individual folders labeled after each user such as "Recovered Data - John Doe - the date and time it was recovered" such as Exchange labels each folder when it is recovered.

Now that in and of itself is not an issue as I can easily accomplish this through the Microsoft Exchange Troubleshooting Assistant in the Management Console.

However, the issue is that I need to recover only the emails for each user that are from that month.
And when I set the start and end dates under the advanced options of the Merge Options, it will always error out because for some reason, the command that should be "-startdate" and "-enddate" get switched to "-starttime" and "-endtime" when you look at the command that it puts out in the error details.

I could simply put in Restore-Mailbox "Email Archive" -RSGDatabase "Recovery Storage Group\Mailbox Database" -StartDate "12/01/14" -EndDate "01/01/15" -RSGMailbox "John Doe" -TargetFolder "12-14" in the command shell but I need to do this for each of the 75 users for 36 months worth of backups.

So my question is, is there a way to get around the issue where the wrong commands are being used when I do the recovery through the management console?

If not, is there a way I could put together a script or batch file that would take the above command and run it for each mailbox that needs to be restored in this way?

Keep in mind that I am not all that well versed in powershell scripting, though I am not overly intimidated by it.

I've been googling for a solution to this for days and have found pretty much nothing so any help in the matter is very much appreciated.
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

I personally would recommend Kernel Data Recover for Exchange Server. This tool will allow you to simply point at an EDB file and recover and mailboxes/mail items/ that are with in it. Great product and very easy to use.

http://www.nucleustechnologies.com/Exchange-Server-Data-Recovery.html

Will.
Avatar of consultant49045

ASKER

Thank you Will,

If all else fails, I will consider that as an alternative.
ASKER CERTIFIED SOLUTION
Avatar of Hariom
Hariom
Flag of India 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
Thank you.

This worked for what I needed to accomplish.
I will still need to delete the unwanted mailboxes but that is a minimal task compared to having to restore each mailbox individually.

Thanks again.