Export email account from Exchange 2010

Dear experts,

I am trying to export a user's email account into a PST file on Exchange 2010 using the exchange shell console.

Before asking for help, I have researched every possible website that explains how to do this task; however, no what I have tried, nothing is working.

Here is what I have done:
1. I have created a folder called PST located directly off of the server's 'C' drive ... c:\PST.
2. I have changed security on the PST folder to give the 'Exchange Trusted Subsystem' full control (see attached file 'pst folder security').
3. I have added my user logon (johnqpublic) to the server's administrator group.
4. Within the exchange shell console I have done the following:
     a. new-managementroleassignment   -role "mailbox import export"   -user johnqpublic
     b. after doing 4a, I have exited out of the shell and gotten back into it
     c. after getting back into the shell, I then entered: new-mailboxexportrequest   -mailbox generic-user
         -filepath \\server\pst\genericuser.pst

Up to this point, everything I have read and researched is saying that I should be able to export the user's email to the PST folder; however, ...

... after entering the new-mailboxexportrequest command, I receive the following error message:

          Couldn't locate a database suitable for storing this request

5. In researching this error message, I have tried everything all web-sites have told me to try.  I have checked and double checked myself to ensure that everything is set properly for security, etc...  I have ensured that everything is spelled properly; however, no matter what I try and no matter what web-site suggests what the problem is or might be, nothing I do and nothing I try is working.

Our version of MS Exchange 2010 is:  14.01.0438.000.

Is there something I am doing wrong?
Is there something I am missing?

Please shed some light on this ... it has become very frustrating over the past few weeks.

Who is Participating?
sla0610Connect With a Mentor Author Commented:

With the help of one of our corporate server guys, I found out that the users' whose email I was to archive were on the 2007 exchange server and I was trying to archive on the 2010 exchange server.  I was previously led to believe that all of the email accounts were transported to the exchange 2010 server.  I had to fire up an old XP machine and install the 2007 exchange management tools in order to archive the users' email from the 2007 exchange server.

Thanks for your help.  I have always appreciated the help and the expertise of the personnel from experts exchange.

it would be like this:
New-MailboxExportRequest -Mailbox user.name -FilePath \\server\e$\PST\"user.name 20152402.pst"

This is pretty much the same as yours, but you need to name the specific drive.

You will of course need to be apart of the appropriate Exchange Security Groups. You can read about that here: http://www.msexchange.org/articles-tutorials/exchange-server-2010/management-administration/exchange-2010-role-based-access-control-part1.html
sla0610Author Commented:

Thank you for the quick response.

After reading your reply, I did add the specific drive to the file path, it now looks like:

new-mailboxexportrequest   -mailbox generic-user   -filepath \\server\c$\pst\genericuser.pst

However, I am still receiving the same error message: Couldn't locate a database suitable for storing this request

I will read up more on the adding my user name to the appropriate Exchange Security Group.

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Guy LidbetterCommented:
Hi sla0610.

Where are you running this from? I have seen a similar issue where I ran the command from a machine with a different version of management tools installed.

Get-ExchangeServer | select name, *version*

Open in new window

The open up EMC on the machine you are running the command from > go to Help > About EMC

and compare the versions....


This cmdlet is available only in the Mailbox Import Export role, and by default, that role isn't assigned to a role group. To use this cmdlet, you need to add the Mailbox Import Export role to a role group (for example, to the Organization Management role group). For more information, see the "Add a role to a role group" section in Manage role groups https://technet.microsoft.com/en-us/library/jj657480.aspx.
Guy LidbetterCommented:
@Lazarus - He already assigned the role to his user account - no need to add it to a Role Group
@Guy Lidbetter, yes, I saw that, but going through all the steps for him to make sure. Just because he thought he added it does not always mean its added.
Guy LidbetterCommented:
@Lazarus - Apologies... as you stated " To use this cmdlet, you need to add the Mailbox Import Export role to a role group" I assumed you were telling him it had to be assigned to a role group... as this is not the case, I did not want to confuse him.

@sla0610 -  The Role can be assigned to a User, Security Group (Universal only), Role Group or Role policy. So what you have done so far is fine.

Check your versions first, then we can dig deeper.

You are correct, I may have confused the issue for him a bit.
A very good walkthrough for setting up Import/Export can be found here: http://www.exchangeinbox.com/article.aspx?i=162
sla0610Author Commented:
@Guy Lidbetter,  I am running the shell on the same server that exchange is on.  I log onto the exchange server with my admin logon and go into the shell.  I did as you suggested.  I did the get-exchangeserver command and compared it to the about help in EMC.  The attached file is the results.  I am using the server ending in BOX03.

@Lazarus, I will do the adding of the role to a role group tomorrow.

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: sla0610 (https:#a40648371)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer
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.

All Courses

From novice to tech pro — start learning today.