I'm trying to set up a back-up file server (192.168.123.3) that will 
rsync files from the main production file server (192.168.123.4). The 
production file server is set up to run rsync --daemon, and I know it 
is doing so because on my backup server I can execute

rsync 192.168.123.4:: 

and get the list of modules as follows:

        etc
        home
        samba


Here's my /etc/rsyncd.conf file

        uid = nobody
        gid = nobody
        use chroot = yes
        read only=yes
        max connections = 2
        log file = /var/log/rsyncd.log


        hosts allow = 192.168.123.3
        hosts deny = *.*.*.*

        [home]
        path=/home

        [samba]
        path=/var/local/samba


But when, on the back-up server 192.168.123.3, I run

        rsync -avv -e ssh 192.168.123.4::home/* /home

and 

        rsync -avv -e ssh 192.168.123.4::samba/* /samba

nothing happens, i.e., the command just returns to the command prompt 
with no error messages or anything, and the files don't not update on 
192.168.123.3.

If I run

        rsync -avv -e ssh 192.168.123.4:/home/* /home

or 

        rsync -avv -e ssh 192.168.123.4:/var/local/samba/* /samba

I get prompted for the root login for 192.168.123.4, and the rsync 
appears to work fine.

I really want to use the anonymous rsync method so as to avoid having 
to type in the password manually, so that I can automate this with a 
cron script.

Please help.
Regards,
Berend Tober

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to