Hello list. I'm doing nightly syncs over SSH with rsnapshot, and now rsync gives me strange errors, like:
rsync: failed to connect to localhost: Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(122) [receiver=3.0.3] ------------------------------------------------------------------------ ---- rsnapshot encountered an error! The program was invoked with these options: /usr/bin/rsnapshot -c /root/ssh-omv.conf daily ------------------------------------------------------------------------ ---- ERROR: /usr/bin/rsync returned 10 while processing localhost::profilo/ The command-line statement is: ssh -f administra...@remotehost.com -L 8874:127.0.0.1:873 sleep 10; rsnapshot -c /root/ssh-omv.conf daily > /var/log/rsnapshot/OMV-$(date +%Y%m%d-%H%M).log >From my Linux server (Debian Lenny) I'm opening an SSH tunnel and then start rsnapshot over it. The remote computer is a Windows 2003 SBS Server, on which I'm running copssh and cwrsync server, where in the rsyncd.conf only two "modules" are listed: use chroot = false strict modes = false hosts allow = 127.0.0.1 log file = rsyncd.log # Module definitions # Remember cygwin naming conventions : c:\work becomes /cygwin/c/work # [data] path = /cygdrive/d/data read only = true transfer logging = yes [profilo] path = /cygdrive/d/Profilo read only = true transfer logging = yes In the ssh-omv.conf file I have in the end: backup localhost::data/ data/ backup localhost::profilo/ profilo/ The logfile shows: /usr/bin/rsync -rtzv --port=8874 --delete --ignore-errors --numeric-ids \ --delete-excluded --stats --progress localhost::data/ \ /mnt/remote/Omv/daily.0/data/ receiving incremental file list [...] Number of files: 3896 Number of files transferred: 11 Total file size: 9930835984 bytes Total transferred file size: 555046488 bytes Literal data: 4548996 bytes Matched data: 550497492 bytes File list size: 98721 File list generation time: 0.265 seconds File list transfer time: 0.000 seconds Total bytes sent: 173496 Total bytes received: 883517 sent 173496 bytes received 883517 bytes 3141.20 bytes/sec total size is 9930835984 speedup is 9395.19 /usr/bin/rsync -rtzv --port=8874 --delete --ignore-errors --numeric-ids \ --delete-excluded --stats --progress localhost::profilo/ \ /mnt/remote/Omv/daily.0/profilo/ /usr/bin/logger -i -p user.err -t rsnapshot /usr/bin/rsnapshot -c \ /root/ssh-omv.conf daily: ERROR: /usr/bin/rsync returned 10 while \ processing localhost::profilo/ touch /mnt/remote/Omv/daily.0/ rm -f /var/run/omv.pid /usr/bin/logger -i -p user.err -t rsnapshot /usr/bin/rsnapshot -c \ /root/ssh-omv.conf daily: ERROR: /usr/bin/rsnapshot -c \ /root/ssh-omv.conf daily: completed, but with some errors The strange thing is that if I comment the "data" backup line in the rsnapshot configuration, the "profile" module gets backed up! What may be happening? Thanks in advance, Flavio Boniforti PIRAMIDE INFORMATICA SAGL Via Ballerini 21 6600 Locarno Switzerland Phone: +41 91 751 68 81 Fax: +41 91 751 69 14 Url: http://www.piramide.ch E-mail: fla...@piramide.ch -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html