File Server Migration

Dear Experts,

I am trying to migrate my File server 2003 to new File server 2012 2 which is host on VM environment.
 I an trying to use robocopy copy but. it is  popping up with following error.

Please help to sort out this issue.

Regards
ASif

robocopy.PNG
Asif NaeemInfrastructure EngineerAsked:
Who is Participating?
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.

zalazarCommented:
You should probably change the \D:\  to \D$\
0
Asif NaeemInfrastructure EngineerAuthor Commented:
Hi,

IT is D$

robocopy \\source server\D$

no luck
0
zalazarCommented:
Yes thanks but I noticed that you specified "\\R4GBCNCN1FS02\D:\Syscon_softwre"   as destination
this probably should be "\\R4GBCNCN1FS02\D$\Syscon_software"
So D$ instead of D:  and software instead of softwre.

The source is specified as:
"\\Atlas\D$\Syscon_woftware"
This should probably be
"\\Atlas\D$\Syscon_software"

So the complete commandline should probably be:
robocopy "\\Atlas\D$\Syscon_software" "\\R4GBCNCN1FS02\D$\Syscon_software" /e /zb /copy:DATSOU /r:3 /w:3

Open in new window

0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Benjamin VoglarIT ProCommented:
Just a suggestion.

Whay not do a backup files on old and restore to new location?
0
Asif NaeemInfrastructure EngineerAuthor Commented:
This option can be try . but what about  NTFS premission.
any idea if  we can p2v only specfice volume ( not whole server. only drive which has data)
0
Benjamin VoglarIT ProCommented:
Backup - Restore keep ALL PERMITIONS!
0
zalazarCommented:
Most backup software will indeed automatically restore the NTFS permissions.
But using robocopy with file server migrations is most of the time easier and less work.
This has also the advantage that you can do a pre-copy of all the data to the new location.
The amount of time this copy takes is not so important here.
On the migration day/time you can do a final copy which will only copy the changed data.

Please note that the robocopy versions that comes with the OS can sometimes have problems with copying the NTFS permissions. This is a bug.
If this is the case in your situation also, then you could use the older XP010 version which is included in the Windows 2003 resource kit.

Download the Windows Server 2003 Resource Kit Tools
https://www.microsoft.com/en-us/download/details.aspx?id=17657
I would not install the software but just unpacking the files.
Unpack rktools.exe with e.g. 7-Zip
Unpack rktools.msi and copy "robocopy.exe" to the directory where you want to run the script.
Rename robocopy.exe to robocopy010.exe

Procedure:
If you have a lot of data to copy it's a good idea to first do a copy with the /CREATE option.
This will minimize directory fragmentation.
This will only copy the directory structure including all the files as 0 bytes files

robocopy010 "\\Atlas\D$\Syscon_software" "\\R4GBCNCN1FS02\D$\Syscon_software" /CREATE /E /NP /R:0 /COPY:DATSO /LOG+:C:\Temp\robo_log1.log

Open in new window


This command will also copy the NTFS permissions.
Note: Copying audit information (U) is actually most of the time not necessary.

After that you can do the copying of data with the robocopy version that comes with the OS.
By using the multi-threading option the copy speed will improve

robocopy "\\Atlas\D$\Syscon_software" "\\R4GBCNCN1FS02\D$\Syscon_software" /MIR /DCOPY:T /NP /R:0 /MT:8 /LOG+:C:\Temp\robo_log2.log

Open in new window


/MIR      The mirror option will make sure that the destination will be exactly the same as the source.
          It also make sure that files that are deleted on the source are also deleted on destination.
/NP       Turns off the copy progress indicator
/MT:8     Do multi-threaded copies with 8 threads
/DCOPY:T  Also copy the directory timestamps

To save time, all above can be done as a sort of pre-copy.
On final migration day/time just execute the last command again:
The mirror option makes also sure that files that are deleted on the source are also deleted on destination.
robocopy "\\Atlas\D$\Syscon_software" "\\R4GBCNCN1FS02\D$\Syscon_software" /MIR /DCOPY:T /NP /R:0 /MT:8 /LOG+:C:\Temp\robo_log3.log

Open in new window


After the copying is done:
1) Check the logfiles for errors and "Access denied" messages
2) Get the properties of source and destination directory with an explorer and make sure the amount of data, number of files and directories are exactly the same.
0

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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.