LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rsynch questions (https://www.linuxquestions.org/questions/linux-software-2/rsynch-questions-4175433469/)

tripialos 10-22-2012 06:14 AM

rsynch questions
 
Hi guys, good day and good week.

I want to setup a server where a number of machines/PCs will synchronize one of their local folder from the server. As i dig around i found out that the tool for such job is the rsync.

I did my homework and read about the particular tool, tutorials and i have some questions which hopefully someone could help me with.

1) i am confused as how do i setup the r.synch on the server. As far as i understood, you can either setup the rsync as a daemon on the server side or ssh and rsync from client - server.

If i choose to ssh and rsync from client - server, this means that i do not have to setup r.sync as a daemon on the server?

2) Why do people use xinetd for the r.synch if you can setup r.synch in daemon mode?

Thanks

r0b0 10-22-2012 06:23 AM

1. It's called rsync, not rsynch, r.sync nor r.synch
2. Daemon mode is useful for "anonymous" rsync server, e.g. if the machines will only synch from the read-only folder to their local folder, and security is not an issue e.g. local netowrk, you can use rsync deamon.
3. If you need either encryption or authentication or read-write access to the "server", you need to use rsync+ssh.

tripialos 10-22-2012 06:29 AM

Thanks for the quick replay @r0b0. For some weird reason i am stuck on calling r.sync "rsynch".

So i will be going for the option 3 since i dont want anyone to synchronize the specific folder from the server. Hence, if i got it right, i then do not need to setup r.sync in server mode on the server side...right?

i on it googling "r.sync with ssh"

r0b0 10-22-2012 06:58 AM

1. It's called rsync, not r.sync
2. Yes, rsync+ssh is a safe bet. You don't really need to configure anything, just install ssh server and rsync packages and you are good to go.

tripialos 10-22-2012 07:43 AM

Quote:

Originally Posted by r0b0 (Post 4812100)
1. It's called rsync, not r.sync

LOLMAO

OK cheers m8


All times are GMT -5. The time now is 01:12 AM.