Solved

Export email account from Exchange 2010

Posted on 2015-02-24
11
148 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
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 20

Expert Comment

by:Lazarus
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 20

Expert Comment

by:Lazarus
Comment Utility
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
Comment Utility
@Lazarus - He already assigned the role to his user account - no need to add it to a Role Group
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 20

Expert Comment

by:Lazarus
Comment Utility
@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
Comment Utility
@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
Comment Utility
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
Comment Utility
@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
Comment Utility
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 26

Expert Comment

by:MacroShadow
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now