Migrate files from Linux

Hi,

I'm planning on moving a bunch of files and folders from a Linux server to a Windows 2012 and I'm not sure what would be the best approach to that. Should it be just a matter of copy-paste thing or I should get a more complex approach? Should I use a tool like Robocopy? Ideally the access rights would carry over but it's not a big deal if not. There is around 300Gb worth of folder/files.

Thank you!
Alan DalaITAsked:
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.

Cliff GaliherCommented:
I'd use robocopy. Permissions from non-NTFS storage may not carry over though. But for many files, robocopy is far more efficient.
0
Neil PreeperCommented:
Your best bet is from backup and do a restore to your new location. If you do a simple copy and paste, you might run into the "file name is too long for windows". NTFS file system supports up to  255 characters in the file path.
0
Seth SimmonsSr. Systems AdministratorCommented:
Should I use a tool like Robocopy?

depends...are you using samba?  if not, that won't work for you if you can't connect the windows machine to a linux share

filezilla could be an option; i've used it before to transfer large amounts of files from linux
https://filezilla-project.org/download.php?show_all=1

or if through samba you mount a folder to a windows share, rsync might work though maybe not with the access permissions
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

serialbandCommented:
What permissions are you trying to preserve?  If you have windows permissions, then robocopy would work.  If you aren't using a Samba share, you can't use robocopy.

You could use cwRsync to connect to your linux system from Windows.  It will preserve the linux permisions.

Both Robocopy and cwRsync will copy only changed files, so if you want to restart after you stop, it will be much quicker, especially for 300 GB of files.
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
Alan DalaITAuthor Commented:
Thank you for your responses!

I tested Robocopy and it looks like it's working fine. What switches would you recommend. So far I tried with /e /xj ? At this point I don't care about permissions that much. They will be different from what we had in Linux anyway.

Thank you!
0
Cliff GaliherCommented:
I'd use /copyall unless you have a specific reason not to.
0
Alan DalaITAuthor Commented:
/copyall gives me an error related to some auditing rights...
0
Cliff GaliherCommented:
Posting the error would be helpful. J won't randomly guess.
0
Alan DalaITAuthor Commented:
ERROR : You do not have the Manage Auditing user right.
*****  You need this to copy auditing information (/COPY:U or /COPYALL).


Thanks
0
Cliff GaliherCommented:
Make sure you are logged into the machine as a domain (or preferably enterprise) admin if joined to a domain, or as a local admin if you are in a workgroup. And make sure you are using the "run as administrator" option when launching the command prompt.
0
Sandeep KhanagwalCommented:
Use Winscp , Simplest and easiest
http://winscp.net/eng/index.php

Install in your window server machine and open your linux server using WinScp.
Just drag and drop the data folders which you want to copy in your window server.
0
serialbandCommented:
For the SOU (NTFS ACLs, Owner, Auditing) permissions, you should be domain admin to copy those.  If you can't get admin permissions, rather than /COPYALL (equivalent to /COPY:DATSOU), try /COPY:DATSO.

I usuually use robocopy with /MIR /COPYALL /Z /R:1 /W:1 /LOG:LogFile.txt to get everything as a Domain admin.  This gets all the Windows permissions and let's you also restart a copy, which is great if your copy was interrupted for any reason.
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
Linux

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.