File sync between ubuntu and windows
Howdy!
I'm intending to mount an Ubuntu server, on which windows clients can connect and make a backup-like sharing of a phew dirs. The solution I'm familiar with, would be to have an fpt server (VSFTPD with virtual users), forcing the users to connect and synch the data mannually. However, the ideal solution would be to implement an automatic synch mechanism, so that the phew users (about 10) wouldn't have to do it themselves. I've heard of Unison, but I'm not familiar with it and I'm afraid I'll lose a endless hours around .conf's not being able to provide the desired functionality. With my best regards, sburnay |
:twocents:
I would suggest rsync. http://www.trueblade.com/knowledge/u...ws-notebook-pc Just set up a script to pull the data and set as a cron job when it makes sense for the 10 users. |
Yes, thank you for the rSync suggestion, from what I've read seems good.
Problems arose after installing the cwrsync on a 64bit Windows7 and tried to run a simple backup .bat Code:
@ECHO OFF Code:
Could not create directory '/cygdrive/j/.ssh'. |
I don't have allot of experience with Windows machines. Gave up after Windoze ME.
But the error is pointing to two areas ---> directories you are trying to work with don't exist. rsync won't create directories. I don't see the variable you are using in your posts. I would check all path's. Maybe just a simple typo. ---> The other potential opportunity is the id is not being accepted. I would try two things add the -e switch and tell rsync you are using ssh. ie rsync -ave ssh ..... the second would be to make sure the keys are copied to the 10 users machines. Look at ssh-keygen then ssh-copy-id option.This may help. http://www.thegeekstuff.com/2010/09/...mand-examples/ |
All times are GMT -5. The time now is 02:26 AM. |