Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

we use one windows 2003 server to sync files between two other windows servers. I assume that the whole traffic goes through the server initializing the sync.

If so, is there a way to trigger a copy between the 2 other machines without routing all through the first server?

Thank you! Regards, Uwe

share|improve this question
    
What method are you using to sync the files? Windows File Copy? Or a specific application? Need more details. –  Mark Henderson Jul 20 '09 at 6:02
    
It's using an old version of synchromat (.com). So I assume it's just windows file copy. –  Uwe Jul 20 '09 at 6:04
    
The way to do this on *nix computers is through ssh. –  Brad Gilbert Jul 20 '09 at 17:44

4 Answers 4

up vote 4 down vote accepted

If you want to take the middle server out of the loop, you'll need to get one of the other two servers to initiate the copy. A combination of PsExec (as suggested by moshen) plus RoboCopy would do the trick efficiently and quickly.

RoboCopy has a bunch of command-line switches that make this kind of sync easy to do - just be sure to test thoroughly before you start mirroring deletes (/PURGE or /MIR), else you can purge both directories in the blink of an eye!

Depending on your network infrastructure, you might be interested in the /IPG:n switch, as it forces RoboCopy to wait between packets, allowing other network traffic to get through.

share|improve this answer
1  
Always have the data backed up before testing anything ^^ –  Oskar Duveborn Jul 20 '09 at 10:05
    
Indeed. When I screwed up my RoboCopy settings, I managed to nuke both my master copy AND my primary backup in one go. Was very glad I had another backup that was both up-to-date and offline to use for restoration. –  Bevan Jul 20 '09 at 23:30

You could use PsExec to initiate the copy remotely.

share|improve this answer

Why not just add a scheduled task on the server you'd like to initiate the copy process?

Another way to remotely start a process n a remote machine is to have a Windows Service wrapper around the executable and trigger it with the net start command - it supports calling remote servers.

share|improve this answer

how about taking an extra step and implementing DFS?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.