how to reduce rsync system usage

Paul Slootman paul at debian.org
Fri May 27 12:04:50 GMT 2005


On Fri 27 May 2005, dtra wrote:

> when i try this, it says unable to find rsyncd.conf
> nice -n 19 rsync -a --rsh="ssh -l remoteuser -c blowfish" 
> rsyncuser at example.com::rsync_module/files /path/to/bak/

Wayne's point of saying "use a daemon" (to paraphrase a bit :-)
is to eliminate use of ssh. By explicitly passing an --rsh option you
tell rsync to connect via ssh, and then start a one-off rsync daemon for
this transfer.

Try starting the rsync daemon separately first on the remote, i.e.
something like:

    rsync --daemon --config /etc/rsyncd.conf

Then do the transfer like this:

    rsync -a rsyncuser at example.com::rsync_module/files /path/to/bak/

Add nice -n 19 where appropriate :-) (on one or both ends, depending on
what you want).


Paul Slootman


More information about the rsync mailing list