Solved

Export email account from Exchange 2010

Posted on 2015-02-24
11
306 Views
Last Modified: 2016-06-15
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.


Thanks,
sla0610
pst-folder-security.PNG
0
Comment
Question by:sla0610
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 20

Expert Comment

by:Lazarus
ID: 40629614
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
0
 

Author Comment

by:sla0610
ID: 40629653
Lazarus,

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.


Thanks,
sla0610
0
 
LVL 13

Expert Comment

by:Guy Lidbetter
ID: 40630756
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.

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

Regards

Guy
0
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 20

Expert Comment

by:Lazarus
ID: 40630773
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.
0
 
LVL 13

Expert Comment

by:Guy Lidbetter
ID: 40630795
@Lazarus - He already assigned the role to his user account - no need to add it to a Role Group
0
 
LVL 20

Expert Comment

by:Lazarus
ID: 40630859
@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.
0
 
LVL 13

Expert Comment

by:Guy Lidbetter
ID: 40630884
@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.

Guy
0
 
LVL 20

Expert Comment

by:Lazarus
ID: 40631108
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
0
 

Author Comment

by:sla0610
ID: 40631460
@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.

Thanks,
Steve
exchange-versions.PNG
0
 

Accepted Solution

by:
sla0610 earned 0 total points
ID: 40648371
Gentlemen,

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.


Thanks,
sla0610
0
 
LVL 27

Expert Comment

by:MacroShadow
ID: 41655268
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.

MacroShadow
Experts-Exchange Cleanup Volunteer
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question