Avatar of enthuguy
enthuguy
Flag for Australia asked on

Latest option to copy files from Linux to Windows 2008

Hi,
Could you pls advise what are the options I have to copy set of directories/files from Linux to Window 2008 Server with latest advancement in tools/utilities pls?

I have 20 servers and need to copy files on daily basis to all these windows servers from linux

Please note.
1. We can consider using licensing products/util
2. Free util
3. Some people say, install cygwin on target window server and initiate the call from windows after exchange keys
4. Some saying to use pscp from windows
5. Some saying to use rsync after installing cgywin and initiate call from windows

Thanks in advance
LinuxShell ScriptingPowershellWindows Server 2008Storage Software

Avatar of undefined
Last Comment
enthuguy

8/22/2022 - Mon
bbao

it depends on where the shared folders are located, at Linux or Windows side? it can be done in either way for copying files from Linux to Windows.
enthuguy

ASKER
Its on Linux
Thx
SOLUTION
bbao

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
arnold

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Dr. Klahn

If the files are not high-security items, install an FTP server on the windows target, then set up cron jobs on the linux systems to transfer the files.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
SOLUTION
Gerwin Jansen

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
enthuguy

ASKER
Thanks all for your suggestions.

More specific details on the requirement.

1. Would like to transfer file from Linux (push to windows).
2. We have Hudson/Jenkins setup, from where we schedule or trigger (manual) a job which will copy files to target windows server (would prefer rsync way)
3. Currently we don't have samba volume mounted on Linux.
4. This activity is not for taking backup. It’s for deploying new artefacts on all 20 windows servers on requirement basis, e.g weekly once
5. Every time, files will be different, so its not the same set of files to all the servers.

what is the strategy of samba please?
a.      A shared volume is mounted on all the window and also in this Linux server.
b.      So we can copy files on Linux first.
c.      During deployment from Linux, we just execute remote cmd to just use local copy cmd on the target windows server instead of transferring files from Linux to Windows?

Once again thanks :)
SOLUTION
Gerwin Jansen

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
serialband

Jenkins can deploy to windows.
enthuguy

ASKER
Jenkins...Yes,  that's the plan
But Jenkins is running on Linux
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
enthuguy

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
enthuguy

ASKER
thanks all
enthuguy

ASKER
this solution worked well for me