Re: rsync: a bit of confusion
On Mon 06 Dec 2004, Payal Rathod wrote: This is the first time I have setup rsync.conf like, [...] Then from 192.168.10.10, I tried, rsync -avz -e ssh [EMAIL PROTECTED]:/var/qmail/control/* . and it worked. So far so good. But then again it worked from 192.168.10.11 Rsyncd.conf is only used when running rsync as a daemon; when invoking it via ssh like you do, the rsyncd.conf isn't used at all. (It's possible to start rsync in daemon mode over an ssh connection, but that's a bit exotic IMHO.) Also note that you passed a wildcard, it's better to let rsync do the expansion, which it will do as you gave the -a option. You connect to the rsync daemon by using a command line like: rsync -avz 192.168.10.1::qmail-control . Of course, you will have to have started the daemon on 192.168.10.1 first. Paul Slootman -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync: a bit of confusion
Hi, This is the first time I have setup rsync.conf like, max connections = 20 syslog facility = local3 read only = true hosts allow = 192.168.10.10 [qmail-control] comment = qmail-control path = /var/qmail/control read only = yes list = yes uid = root gid = root Then from 192.168.10.10, I tried, rsync -avz -e ssh [EMAIL PROTECTED]:/var/qmail/control/* . and it worked. So far so good. But then again it worked from 192.168.10.11 too and that too for other directories too. Even deleting the rsync.conf file had no effect. What is wrong here? Is this not the way to use rsync client? Rsync on the *server* will not use the rsync.conf file unless you tell it to. What is your rsync commands you used to start the rsync server? You need to use '--config rsync.conf' for a start. :-) -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync: a bit of confusion
On Tue, Dec 07, 2004 at 10:06:26AM +0100, Paul Slootman wrote: You connect to the rsync daemon by using a command line like: rsync -avz 192.168.10.1::qmail-control . Of course, you will have to have started the daemon on 192.168.10.1 I am not able to get it running properly. # ps aux|grep rsync root 8121 0.0 0.6 1936 644 pts0 S17:43 0:00 grep rsync Does that mean rsync is not running at all? But using the example you gave I can still get the files, rsync -avz 192.168.10.1::qmail-control . How exactly do I start the daemon? I have it now in xinetd file as, disable = no socket_type = stream wait= no user= root server = /usr/bin/rsync server_args = --daemon log_on_failure += USERID Thanks in advance. With warm regards, -Payal -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rsync: a bit of confusion
xinetd is the daemon. It will spawn rsync processes as connections come to 872 (assuming that's the port you associated with whatever you named that service). This is assuming, of course, that xinetd has read the configuration since you made the change, either by HUP, xinetd bounce, or system bounce. Tim Conway Unix System Administration Contractor - IBM Global Services - ODCS desk:3039240938 [EMAIL PROTECTED] How exactly do I start the daemon? I have it now in xinetd file as, disable = no socket_type = stream wait = no user = root server = /usr/bin/rsync server_args = --daemon log_on_failure += USERID -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
rsync: a bit of confusion
Hi, This is the first time I have setup rsync.conf like, max connections = 20 syslog facility = local3 read only = true hosts allow = 192.168.10.10 [qmail-control] comment = qmail-control path = /var/qmail/control read only = yes list = yes uid = root gid = root Then from 192.168.10.10, I tried, rsync -avz -e ssh [EMAIL PROTECTED]:/var/qmail/control/* . and it worked. So far so good. But then again it worked from 192.168.10.11 too and that too for other directories too. Even deleting the rsync.conf file had no effect. What is wrong here? Is this not the way to use rsync client? With warm regards, -Payal -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html