Long path data coping error

Hi,

I have windows 2003 data server (normal files and folders)
Also we new hardware with windows 2012 R2 server.

When I try to transfer data from old server to new server it get stuck due to long path error in data.

What to do?

Is there any freeware application for transfer data or any other inbuild solution in windows 2012r2,

-rgds, pk
Pravin KadamIT Service ManagerAsked:
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.

oBdACommented:
Use robocopy.exe on the new server.
robocopy.exe "\\OldServer\Data" "D:\Data" *.* /e /r:0
Note that the syntax is slightly different from copy/xcopy; robocopy wants the source folder as first argument, the target folder as second argument, then the file mask to copy (*.* if omitted), then other options.
And unlike copy/xcopy as well, it will by default skip files that already exist in the target folder (same size, same date).
Use "robocopy /?" for a list of options, or ask if you have specific wishes. robocopy can, for example, copy NTFS permissions as well with "/copyall"; by default, it will copy data, attributes, and time stamps.

For initial tests, you can add the "/L" (List) option at the end, which will make robocopy only show what it would do, without actually copying anything.
1

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
AlexiosCommented:
Hello

Another great tool is Teracopy
https://codesector.com/teracopy

You have to install it but it works perfectly
0
William FulksSystems Analyst & WebmasterCommented:
Depending on how your file structure is setup, one quick and dirty cheat you can use to get around this is map a network drive to somewhere inside your folder list in order to make it shorter.

For example, if you are trying to copy from \\server\departments\users\username\folder1\subfolder2\etc\etc you could map a drive letter (say M:) to \\server\departments\users\ then you could copy from M:\username\folder1\subfolder2\etc\etc instead.

Does that make sense?
0
serialbandCommented:
If you're duplicating data or mirroring drives. robocopy is the way to go.  Mapping the folders to a drive letter is better for individual tasks.
0
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.