From The System Administrator Zone

I get connection refused?

By default, rsync uses the old Berkeley rexec commands. If rsh will not work, rsync will also fail. The fix is to tell rsync to use ssh instead.

rsync -e ssh ...

How can I copy a directory and all its contents?

rsync -rlptogv -e ssh /home/httpd/

Note that the trailing slash is critical!

How do you find out what is available from a remote site?


This would list all the anonymous rsync modules available.

How to exclude .snapshot folders on Netapp or Pillar file servers

echo ".snapshot/" > /tmp/.exclude_me

Then simply add "--exclude-from /tmp/.exclude_me" to rsync's list of arguments.

You can add other directory names to the list and they will also be excluded.