how to reduce rsync system usage
Joost van den Broek
joost at bbnetworks.nl
Fri May 27 11:38:46 GMT 2005
No daemon required when using ssh. So you would specify the following:
sshuser at remotehost:/path/to/webserver /path/to/bak/
(the --rsh parameter you specified is afaik correct)
- Joost
On Friday 27 May 2005 07:27, dtra wrote:
> sorry, you're prolly tired of me by now
> 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/
>
> my rsyncd.conf file on the remote host looks like this
> motd file = /etc/rsyncd.motd
> log file = /var/log/rsyncd.log
> pid file = /var/run/rsyncd.pid
> lock file = /var/run/rsync.lock
>
> [rsync_module]
> path = /path/to/web/server
> comment = My Very Own Rsync Server
> uid = nobody
> gid = nobody
> read only = no
> list = yes
> auth users = rsyncuser
> secrets file = /etc/rsyncd.scrt
> hosts allow = rsync.client.com
> max connections = 1
>
> thanks
> dave
More information about the rsync
mailing list