[Gllug] Does one need Rsync server to use Rsync?

Stephen Nelson-Smith sanelson at gmail.com
Fri Sep 4 05:25:45 UTC 2009


Hi Hong,


> Now, having read the rsync document over and over again, I can't seem to
> figure out, why do the need for an Rsync (or rsync daemon)  server to do
> rsync? Is it really necessary? What's the advantage over just using
> Rsync as a commandline program?

The main use I have for using the rsync service over using the ssh
transport is the ability to do post transfer hooks.  So on the
destination you can do things like:

post-xfer exec = /usr/local/bin/do_something_clever.sh

I use this for one client to take start working on a new lump of data
as soon as it has arrived, rather than wasting time waiting for a cron
job to run.

It's also got pleasant tcpwrapper-like access control.  You might not
want two servers transfering data between each other to have ssh
access open between them, but you could allow rsync, and restrict it
in a hosts allow statement.  That then means you can augment the
machines allowed to rsync to the machine without having to make an
additonal firewall change.

Hope that helps.

S.

-- 
Stephen Nelson-Smith
Technical Director
Atalanta Systems Ltd
www.atalanta-systems.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list