Wayne Davison wrote:
On Thu, May 26, 2005 at 06:16:03PM +1000, dtra wrote:
yes, i'm using a the daemon on the host
the rsync call is
nice -n 19 rsync -a [EMAIL PROTECTED]:/path/to/vhosts/site
/path/to/bak/
That call does not make use of a daemon -- that would require :: instead
of : (and an appropriate module source name). That command pulls files
using a remote shell (you'll need to check your config to know which one
is the default or configured via RSYNC_SSH), so you'll need to either
add your own single-use locking in the pull script, or you'll need to
switch over to using the daemon syntax for the source. That command
changes the receiving processes to run at nice 19 -- see my previous
message for a way to make the sending process also get nice-ed (if
needed).
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"
[EMAIL PROTECTED]::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
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html