file server migration to 2012 R2


I need to migrate a existing windows file server from windows server 2003 and windows 2008 to 2012 R2.

I did some google search and microsoft file migration tool kits came out, since I personally never use the tool i would like to ask experts what is the best way of doing this.

Thank you!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
For most smaller environments, a simple robocopy and creating new shares is sufficient. The toolkit hasn't been updated for 2012 or newer, but the methodology is sound for large migrations and reading the documentation is worthwhile in those cases.
I agree with Cliff. Toolkits never work when migrating to a newer file server. Best to build server from scratch and transfer all the data to the new server using a copy program like robocopy, just like cliff suggested.
JHMH IT StaffCommented:
I concur; I'm in the process of splitting a 2003 server into two 2008 servers. Robocopy is the way to go.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

fireburn11Author Commented:
can someone post a sample robocopy script that copies file and security permissions?

Cliff GaliherCommented:
You don't need a script. Robocopy is a program.  You give it the source, the destination, and the /copyall flag to copy permissions.  A quick web search will tell you everything you want to know about robocopy.  A script would be overkill.
From 2012 server, assuming your file share is on E:\ drive on both systems and you're running the command as a domain admin with full access to all files and folders.  I would also run it from 2012 server because it has the newer, multi-threaded robocopy built in.

Here's the sample command:
robocopy  \\2003_Server_Name\E$  E:\   /MIR /COPYALL /MT:2 /w:1 /r:1

/MIR = /E /PURGE --> Mirror everything exactly
/COPYALL --> Copy all ACLs, (permissons and ownerships)
/MT:2 --> Multithreading set to 2.  I would set it to the number of cores/threads -1 to speed up copying of small files and keep your system responsive.
/w:1 --> wait 1 second before retry on failed copy. (Default is 30s)
/r:1 --> retry once (Default is 3)

I usually shorten the wait and retry, or you'll be waiting forever if the command encounters errors.  You can just rerun the command if it did encounter problems.  It saves a lot of time during the initial copy and you can run it while people are using files.  If you have a lot data, it will still take a long time to copy, but in use files will trigger errors and retries.  Besides, you can run it as often as you like, once the initial copy is done.

Once you're done with the initial copy, run it again, and keep running it periodically, before you take it offline for the final scheduled transfer.  All subsequent copies will be much faster.  You may have to take ownership or add permissions to copy some files, if the user removed admin permissions from any files.  While it's offline, run a final robocopy to sync up the files that were still in use. Finally, swap the servers.
If you want to save a log, you can add the option /log:E:\Logfile.txt

robocopy /? will show you all the options.  You can also look online

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.