Solved

migrate file shares, data and permissions from server 2003 to 2008

Posted on 2010-08-18
7
3,953 Views
Last Modified: 2012-07-13
Hi,

I am changing from server 2003 to server 2008 R2 and have added the new server to the domain, transferred the FSMO roles and I am now looking at ways to transfer the shares and the data over whilst retaining the permissions.

I would like to keep the structure of the shares the same where possible. These are spread across different partitions on the original server due to different quota requirements. Access to shares is also controlled by groups that users are assigned to and drive mappings occur for different users at different levels of the folder structure. Basically it has taken quite a while to get things set up this way and I don't want to have to set these up again manually.

I have had a quick look at the microsoft file server migration tool kit, but I am not sure it will do exactly what I want. Other options I am considering are:
RichCopy http://technet.microsoft.com/en-gb/magazine/2009.04.utilityspotlight.aspx
Robocopy or maybe Robocopy GUI http://technet.microsoft.com/en-gb/magazine/2009.04.utilityspotlight.aspx

I found info on using a combination of xcopy and robocopy at http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/292b40ec-a6b3-47db-b9ac-e7ab9aa5c913

There is another page regarding robocopy at http://thespidersparlor.com/technicalblog/?p=9 but it has a different command listed than some other articles I have read.

There is another article at http://thebackroomtech.com/2007/08/28/howto-migrate-file-shares-permissions-and-user-profiles-paths-in-a-windows-2003-domain/ which looks promising, but the author has slightly different aims to mine.

I am getting swamped with different options at the minute, does anyone have any advice on the best tool or combination of tools to achieve this kind of data transfer while minimising any manual processes after the copy?
0
Comment
Question by:QEMS
  • 3
  • 3
7 Comments
 
LVL 5

Accepted Solution

by:
ploftin earned 500 total points
Comment Utility
You can do it for free with Windows Backup.  Create a backup using Windows Backup (ntbackup.exe in 2003) and restore it to the new server.  All NTFS permissions will remain in-tact.  You do have to manually create the partition structure and manually share the folder (and set share permissions), but all the security around each folder, subfolder and files will remain as is on the 2003 server.
0
 
LVL 5

Author Comment

by:QEMS
Comment Utility
Do you think that is the way with the least manual interaction? Is there no way to copy across the shares without having to manually set them on the new server afterwards?
0
 
LVL 5

Assisted Solution

by:ploftin
ploftin earned 500 total points
Comment Utility
You could also try this:

Windows stores all share information in the registry. This allows you to export the information from one machine and import it into another.  To access the share information, open the Registry Editor by going to Start > Run, type regedt32.exe, and clicking OK. Then, navigate to the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares

This registry key lists all shares. To move a share from one server to another, follow these steps:

1. In the Registry Editor, go to Registry > Export Registry File.
2. Save the settings in a .reg file by selecting a location and clicking Save.
3. Close the Registry Editor.
4. Copy the .reg file to the destination computer.
5. Right-click the file and select Merge.

In order for the shares to show up, you'll need to 1) restart the machine or 2) stop and start the server service (enter Net Stop Server and then Net Start Server at the command prompt) and other services that require server service.

Be aware that this procedure will migrate ALL of the shares from the source machine. In addition, you must store the folders on the same drive as before. For example, if you copied the "C:\Shared Folder" share from one machine, you must copy the folder to the same location (C:\Shared Folder) on the destination machine.

Note: Editing the registry is risky, so be sure you have a verified backup before making any changes.
0
Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

 
LVL 5

Author Comment

by:QEMS
Comment Utility
Thanks very much, I'll give that a try shortly now that I have a full backup that ran overnight.
0
 
LVL 3

Expert Comment

by:pmaribeiro
Comment Utility
Hi,

you can use two applications that work fine:

1) robocopy with GUI http://technet.microsoft.com/en-us/magazine/2006.11.utilityspotlight.aspx
2) Secure Copy its not cheap but the best i ever used so far: http://www.scriptlogic.com/products/securecopy/
0
 
LVL 5

Author Comment

by:QEMS
Comment Utility
Sorry for the delayed response but I have got this one sorted now. I wanted to make sure everything was working as expected before I closed the question off.

pmaribeiro thanks for your response but I was already underway with ploftin's suggestion and unfortunately we don't have the budget (or the regular need) for a solution such as Secure Copy.

ploftin thanks very much for your help, that worked great.

For anyone else reading this in future, I restored the data from the 2003 server to the new server so all the data was moved across without having to install ntbackup on the 2008 server.

I exported the data from the registry without issue and checked the MS kb article about it at http://support.microsoft.com/kb/125996

I edited the registry fragment that was exported, removing any shares that I didn't want to move across, along with the associated security sub key entries.
I took a backup of the same section of the registry on the new server in case anything went wrong, but everything worked fine.

The MS kb article states "Caution This step overrides the shares that already exist on the Windows computer with the share names and permissions that exist in the file you are restoring", however the import of the reg data doesn't interfere with any shares that are named differently to the ones you are importing.
0
 
LVL 5

Expert Comment

by:ploftin
Comment Utility
Good work, and good follow up QEMS. I'm glad it worked well for you.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Learn about cloud computing and its benefits for small business owners.
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

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

11 Experts available now in Live!

Get 1:1 Help Now