rsync daemon

Imre Gergely gimre at
Tue Sep 29 12:08:48 UTC 2009

You could use crontab to run the rsync client periodically.

You could have a script on the remote host with all the rsync client 
commands and parameters, and run that with an ssh command, something 
like this:

on the host with the rsync daemon you run:

ssh user at remote_host /root/scripts/

remote_host being the rsync client host, and being the 
script which runs the rsync. You could set up ssh with keys so you don't 
need to use passwords, then you could put this command in crontab on 
THIS host. (you may want to think about security when setting something 
like this up, though).

You could think about setting stuff up reversed, so this host with the 
rsync daemon would push the new stuff to the remote client, instead of 
the remote client pulling.

If you use rsync through ssh for example (with no daemon), there isn't 
any client and server in the usual sense, both can be clients and 
servers, too. Both can send and receive, regardless who initiates the 

If all depends on what you want to do exactly.

Kaushal Shriyan wrote:
> Hi,
> I have followed and
> successfully configured it and works fine without any issue.
> The question is how can i call the rsync client from the remote hosts
> automatically to ping the rsync daemon and fetch only the new files
> which is available on rsync server?
> Thanks and Regards,
> Kaushal

Imre Gergely
Yahoo!: gergelyimre | ICQ#: 101510959
MSN: gergely_imre | GoogleTalk: gergelyimre
gpg --keyserver --recv-keys 0x34525305

More information about the ubuntu-server mailing list