Link to home
Start Free TrialLog in
Avatar of betterlifedirections
betterlifedirectionsFlag for Australia

asked on

Migrate Exchange 2003 to Exchange 2007

Hi,

I am wondering if anyone would please be able to point me in the direction of a step by step process to migrate an Exchange 2003 database residing on SBS2003, to Exchange 2007 residing on SBS2008.
Avatar of Noam_Kuilboer
Noam_Kuilboer
Flag of United States of America image

Gotta use the migration wizard (http://www.microsoft.com/downloads/details.aspx?FamilyID=52b7ea63-78af-4a96-811e-284f5c1de13b&displaylang=en)

Follow the procedure it's quite easy, step by step.  Basically you prepare your SBS03 box, generate a script, boot your new server with the SBS08 install CD and the script on a USB key, follow the wizard and you're done.
Avatar of Nitin Gupta
Hi,
What exactly is your need. Is the Exchange 2007 already in place or you want steps from start. If from start then use link provided by Noam.
If 2007 is in place and only DB movement ie PF and Mailboxes needs to be done, then go ahead and use Move-Mailbox cmdlet and also replicate PFs
Let me know
Thanks
Nitin Gupta (gupnit)
Avatar of betterlifedirections

ASKER

Hi all, and thanks for your contributions,
gupnit, in response to your request for clarification:

sbs2008 is already installed and exchange 2007 installed at the same time. All I require (I think) is the movement of the database (including exiting mailboxes and calendars) from the original sbs2003 server to the other sbs2008 server. Not sure what you mean by Move-Mailbox cmdlet? Are you referring to the response from unisolutions?

Thanks

James
 
So you mean you have both SBS server running in the same domain ??

If you haven't followed the migration wizard you're up for dramas.  But if you have now both Exchange Server in the same organization, just open your Exchange2007 admin console and expand the mailboxes, rightclick on each of them and select "move" then point it to the 2008 server, with it's attibutes (database etc) and ... voila :)

Seriously though, SBS migration should only be ran with the wizard, unless you want to recreate your users, groups, grou policies etc etc with is painful.
Hi unisolutions,

no I don't have both sbs boxes on the same domain ... the sbs2003 box is on the old domain on one network, and the new sbs2008 box has its own new domain on a different network. I was plannign on using a removable USB HDD to save the dbase onto, then pluc that into the new sbs2008 box and make the transfer that way.
Hi,
In that case use ExMerge to export mailboxes to PSTs and then use Import-Mailbox on 2007 to import the PSTs to mailboxes
Cheers
Nitin
Nitin,

Firstly, am I correct in thinking I need to install Exchange 2007 SP1 before I can do this?

Secondly, I have struck a problem with ExMerge - in that the user mailboxes are not being exported correctly. The error I am getting for each of the mail boxes is:

13:56:10 Copying data from mailbox 'name' ('name') on server 'servername' to file 'D:\echange\name.pst'.
13:56:10 Error opening message store (MSEMS). Verify that Microsoft Exchange Information Store service is running and that you have the correct permissions to log on (0x8004011d)
13:56:10 Errors encountered. Copy process aborted for mailbox 'name' ('name').

Do you have any suggestions as to what the problem may be here?

Hi,
See you got to use Exchange Admin account, ie an account that has permissions on the Information Store and Mailboxes for ExMerge.
As far as Exchange 2007 SP1 is concerned, yes for IMport-Mailbox cmdlet to import multiple Psts files from a folder, you will need SP1. I am assuming that you already have Exchange 2007 installed and you are talking about  SP1 only :-)
Let me know
Thanks
Nitin Gupta (gupnit)
regarding Exchange Admin, does System Administrator not have the correct permissions? or do I have to specifically add the Exchange Admin permissions to the System Admin user?

Hi,
I am not sure whether that User has permissions or not. Add the User ID to Exchange Admin Group and Domain Admin group to be safe
Cheers
Nitin
Administrator was already a member of the Domain Admin group ... and there was no Exchange Admin group as an option to add Administrator to. So I am not sure how to proceed from here - I am still getting the same error.

Any further ideas?
Further research uncovered the information at http://support.microsoft.com/default.aspx?scid=kb;en-us;322312 

Change of permissions at the Mailbox Store seemed to have overcome the issue of errors whilst running ExMerge.

Hi,
Follow this article: http://support.microsoft.com/kb/823018
Thanks
Nitin
Hi Nitin,
I have managed to create the .pst files and have also installed exchange2007 SP1 manager on a client computer. When running import-mailbox I get an error (listed as code snippet).

It appears that this is the last hurdle to get over, and I have an increasingly frustrated team to placate ... as the entire organsation is on hold until people can access their email and calendars.

Your further assictance would be greatly appreciated.

Sincerely

James

         Welcome to the Exchange Management Shell!
 
 Full list of cmdlets:          get-command
 Only Exchange cmdlets:         get-excommand
 Cmdlets for a specific role:   get-help -role *UM* or *Mailbox*
 Get general help:              help
 Get help for a cmdlet:         help <cmdlet-name> or <cmdlet-name> -?
 Show quick reference guide:    quickref
 Exchange team blog:            get-exblog
 Show full output for a cmd:    <cmd> | format-list
 
Tip of the day #41:
 
Do you need an easy way to add a new primary SMTP address to a group of mailboxe
s? The following command creates a new e-mail address policy that assigns the @c
ontoso.com domain to the primary SMTP address of all mailboxes with Contoso in t
he company field:
 
 New-EmailAddressPolicy -Name Contoso -RecipientFilter {Company -Eq "Contoso"} -
EnabledPrimarySMTPAddressTemplate "@contoso.com"
 
[PS] C:\Documents and Settings\tech>Import-Mailbox -Identity christinem -PSTFold
erPath F:\exchange\christinem.pst
 
Confirm
Are you sure you want to perform this action?
Importing mailbox content from .pst file 'F:\exchange\christinem.pst' to
mailbox 'Christine Matthews'. This operation may take a long time to complete.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help
(default is "Y"):y
Import-Mailbox : Error was found for Christine Matthews (ChristineM@betterlifed
irections.com) because: Error occurred in the step: Moving messages. Failed to
copy messages to the destination mailbox store with error:
MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000, error code: -1056749164
At line:1 char:15
+ Import-Mailbox  <<<< -Identity christinem -PSTFolderPath F:\exchange\christin
em.pst
 
 
Identity                         : betterlife.local/MyBusiness/Users/SBSUsers/C
                                   hristine Matthews
DistinguishedName                : CN=Christine Matthews,OU=SBSUsers,OU=Users,O
                                   U=MyBusiness,DC=betterlife,DC=local
DisplayName                      : Christine Matthews
Alias                            : ChristineM
LegacyExchangeDN                 : /o=First Organization/ou=Exchange Administra
                                   tive Group (FYDIBOHF23SPDLT)/cn=Recipients/c
                                   n=ChristineM
PrimarySmtpAddress               : ChristineM@betterlifedirections.com
SourceServer                     :
SourceDatabase                   : REVELATION\First Storage Group\Mailbox Datab
                                   ase
SourceGlobalCatalog              : REVELATION
SourceDomainController           :
TargetGlobalCatalog              : REVELATION
TargetDomainController           :
TargetMailbox                    :
TargetServer                     : REVELATION.betterlife.local
TargetDatabase                   : REVELATION\First Storage Group\Mailbox Datab
                                   ase
MailboxSize                      : 1056KB
IsResourceMailbox                : False
SIDUsedInMatch                   :
SMTPProxies                      :
SourceManager                    :
SourceDirectReports              :
SourcePublicDelegates            :
SourcePublicDelegatesBL          :
SourceAltRecipient               :
SourceAltRecipientBL             :
SourceDeliverAndRedirect         :
MatchedTargetNTAccountDN         :
IsMatchedNTAccountMailboxEnabled :
MatchedContactsDNList            :
TargetNTAccountDNToCreate        :
TargetManager                    :
TargetDirectReports              :
TargetPublicDelegates            :
TargetPublicDelegatesBL          :
TargetAltRecipient               :
TargetAltRecipientBL             :
TargetDeliverAndRedirect         :
Options                          : IncludeAssociatedMessages
SourceForestCredential           :
TargetForestCredential           :
TargetFolder                     :
PSTFilePath                      : F:\exchange\christinem.pst
RsgMailboxGuid                   :
RsgMailboxLegacyExchangeDN       :
RsgMailboxDisplayName            :
RsgDatabaseGuid                  :
StandardMessagesDeleted          : 0
AssociatedMessagesDeleted        : 0
DumpsterMessagesDeleted          : 0
MoveType                         : Import
MoveStage                        : Move
StartTime                        : 7/01/2009 10:35:01 AM
EndTime                          : 7/01/2009 10:35:01 AM
StatusCode                       : -1056749164
StatusMessage                    : Error occurred in the step: Moving messages.
                                    Failed to copy messages to the destination
                                   mailbox store with error:
                                   MAPI or an unspecified service provider.
                                   ID no: 00000000-0000-00000000
ReportFile                       : C:\Program Files\Microsoft\Exchange Server\L
                                   ogging\MigrationLogs\import-Mailbox20090107-
                                   103441-6920059.xml
 
 
 
[PS] C:\Documents and Settings\tech>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Nitin Gupta
Nitin Gupta
Flag of United Kingdom of Great Britain and Northern Ireland 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
your assistance has been awesome, thanks!!
problem solved - step by step.

final permissions issue was solved by addressing permissions on mailbox using cmdlet:

add-mailboxpermission -identity username.ofmailboxtoimport -user username.ofadmin.tryingtodo.theimport -accessrights fullaccess

have then been able to import the pst files and users have been able to access their calendars and email .... FINAL HURDLE was to change each users' exchange settings in outlook and uncheck Cached Mode. This allowed Outlook to update the mailboxes and everyone is happy... including me :-)

Now ... on to my next problem ...
Hi James,
Glad to be of help
Thanks
Nitin Gupta (gupnit)