Rsync Help!
Hello,
i have install rsync to do a remote backup on a server but i can't get it work, i post my configuration: rsync.conf: uid = maddox gid = maddox use chroot = no max connections = 2 syslog facility = rsync pid file = /etc/rsyncd.pid [backup] path=/backup/cpbackup/daily/ comment = Server backup files auth users = maddox secrets file = /etc/rsyncd.secrets /etc/xinetd.d/rsyncd service rsync { disable = no socket_type = stream protocol = tcp wait = no user = root server = /usr/bin/rsync server_args = --daemon # allow to connect from your second server only only_from = 111.111.111.111 } rsyncd.secrets maddox:1234567 on the other server i have make the .sh file: #!/bin/bash rsync --password-file=/etc/rsync.ps -r rsync://maddox@124.124.124/backup/* /path/to/downloaded/backup rsync.ps 1234567 when i run the .sh file i get the following error: @ERROR: invalid uid maddox rsync: connection unexpectedly closed (80 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) any help? thank you |
Re: Rsync Help!
Quote:
It's definitely not a valid IP, though ;) Cheers, Tink |
i know, i have post it as example on the forum, i dont like to post my real ip onthe forum.
Thx |
All times are GMT -5. The time now is 07:34 PM. |