Backup Exchange Data
Follow this steps to back up the data in Exchange using Windows Server Backup so it can be restored on the new server running Exchange Server 2007. You are free to use another backup and restore solution, but that will not be covered in this document. If you choose to use Windows Server Backup, you should have Exchange 2007 Service Pack 2 or later installed so that the Exchange backup plugin is registered. You will also need to install Exchange Server 2007 Service Pack 2 or later on the new server in order to have the Exchange backup plugin available for the restore.
Using Windows Server Backup
- Start Windows Server Backup.
- In the Actions pane, click Backup Once…. The Backup Once Wizard appears.
- On the Backup options page select Different options and then click Next.
- On the Select backup configuration page select the type of backup that you want and then click Next:
- Select Full server (recommended) to back up all volumes on the server.
- Select Custom to specify which volumes should be included in the backup. If you select this option, the Select backup items page appears. Select the volumes to be backed up and then click Next.
- On the Specify destination type page select the location where you want to store the backup and then click Next. If Remote shared folder is selected, the Specify remote folder page appears. Specify a UNC path for the backup files and then do one of the following, to configure Access Control settings:
- Select Do not inherit, if you want the backup to be accessible only by a set of specified user credentials and then click Next. Type user name and password for a user account that has write permissions on the computer that is hosting the remote folder and then click OK.
- Select Inherit, if you want the backup to be accessible by everyone who has access to the remote folder and then click Next.
- On the Specify advanced options page select VSS full backup and then click Next.
- On the Confirmation page review the backup settings and then click Backup.
- On the Backup progress page, you can view the status and progress of the backup operation.
- Click Close, when the backup operation is completed.
Using a file copy backup
Note: This step is recommended as a second backup of the Exchange data in the event you plan on migrating the Messaging server to the same hardware in the unlikely event you are unable to restore the Exchange data from your primary backup method after the server is reinstalled.
- Start the Exchange Management Console.
- Expand Server Configuration and click on Mailbox.
- On the Database Management tab make a note of all the Database File Paths for all the Databases listed.
- View the properties of every Storage Groups listed and make a note of every Log Path and System Path.
- Stop the Microsoft Exchange Information Store service.
- Make a backup copy of all folders you noted in steps 3-4 to removable media or a location that will not be formatted when the Exchange server is reinstalled later in this document.
?
Install the Exchange Server
Using a copy of 64-bit Windows Server 2008R2 Standard Edition, install a new server. The server should be joined to the domain manually as a member server. Once the server is installed, apply all the Windows Service Packs and updates.
There is no requirement that the Messaging Server should be a domain controller. If you have additional DCs, it is not recommended making this server a DC.
Install Exchange and Migrate Data
To install the Windows Server 2008R2 operating system prerequisites, for a computer that will host the Hub Transport, Client Access, and Mailbox server roles, use the Powershell interface:
- In Start menu run PowerShell as Administrator.
- In PowerShell windows type Import-Module ServerManager.
- Wait for the command to be completed and then type Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy -Restart. This command will install all prerequisites needed by a typical installation of Exchange. After the command will be complete, the server will restart.
Install Exchange Server 2010
- Download and install Microsoft Office 2010 Filter Packs from http://go.microsoft.com/fwlink/?LinkId=191548 .
- Install Exchange Server 2010 from a media or a downloaded copy by lunching setup.exe in the root folder on the Exchange DVD or extracted folder.
- In Introduction window click Next.
- In License Agreement window check I Accept the terms in the License agreement and click Next.
- In Error reporting window click Next.
- In Installation type window select Typical Exchange Server Installation, check Automatically install Windows Server roles and features required for Exchange and click Next.
- In Configure Client Access server external domain check The Client Access server role will be Internet facing.
- In Enter the domain name you will use with your external Client Access servers type the name of your MX record (for example: mail.contoso.com).
- Click Next.
- In Customer Experience Improvement Program click Next.
- In Readiness Check that all requisites are installed (all checkmark must be green) and click Install.
- Review that all tasks has completed successfully and click Finish.
In this time, you must change the firewall and the DNS setting. Now the new exchange is ready to receive and send mails. This will be possible after you change the forwarding roles on your firewall. You must change forwarding roles for ports 25, 80 and 443 to messaging server IP.
Some changes in DNS are also needed. To do this follow the procedure:
- Open Start menu, Administrative tools and lunch DNS.
- In the left pane expand SERVER_NAME, Forward lookup zones (Where SERVER_NAME is the name of the DNS Server).
- Expand EXERNAL_DOMAIN_NAME and select A Record for the name of remote access – by default is remote and right-click properties (INTERNAL_DOMAIN_NAME is the name of RWW).
- Change the IP address with the address of the new messaging server.
Creating data and migrating users to the new Exchange server
First step to do is creating a new Offline Address Book:
- Open Start menu and open Microsoft Exchange Management Shell as Administrator.
- Type the command New-Offlineaddressbook -name “OAB_NAME”default global address list” -server “SERVER_NAME” (where OAB_NAME is the name of Offline Address Book and SERVER_NAME is the name of Messaging server).
- After the new OAB is created, it must be updated with the command Update-OfflineAddressbook -Identity “OAB_NAME”.
- At this point we must set this OAB as default OAB for Mailbox Database on Messaging server with the command Get-MailboxDatabase | Set-MailboxDatabase –offlineaddressbook “OAB_NAME”.
After the database is ready, you can begin moving Mailbox Location with pipeline Get-Mailbox -Server SBS_SERVER | New-MoveRequest -TargetDatabase “NEW_DATABASE” (where SBS_SERVER is the name of the SBS Server and NEW_DATABASE is the name of the Mailbox database on Messaging server). During the move operation, user will be able to send and receive mails, but when the operation is completed, he will be prompted to restart Outlook.
At the end they remain only public folders. You can move them simply with a script from the new Exchange server:
- Open the Exchange Management Shell as Administrator.
- Navigate to the folder <Drive>Program FilesMicrosoftExchange ServerV14Scripts (where <Drive> is the system drive).
- Run a PowerShell script .MoveAllReplicas.ps1 -Server “SBS Server” –NewServer “New Server” (where “SBS Server” is the name of the SBS Server and “New Server” is the name of the new Exchange server).
- Wait few days, that all fodders will be moved completely.
Migrate from SBS 2008 or 2011 (Part 3)