|
[EMAIL PROTECTED] wrote: ok that all looks good.Witam, Are you running XP? is the auth user you specify the same as the user you are logging onto windows as? If not maybe make them the same. maybe limiting your auth password to 8 characters would be good, some o/s's wont do more than that. i gather your config.pl on backupPC has appropriate matching rsync auth sections set.... $Conf{RsyncdUserName} = 'user'; $Conf{RsyncdPasswd} = 'password'; $Conf{RsyncdAuthRequired} = 1; Then I want to test it. On my BackupPC server (Debian) I run the command: rsync -av [EMAIL PROTECTED]::c and I get the message: rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(570) in c:/progra~1/rsyncd/rsyncd.log I get the message: 2005/09/08 23:39:27 [3616] rsync: writefd_unbuffered failed to write 12 bytes: phase "unknown" [receiver]: Invalid argument (22) 2005/09/08 23:39:27 [3616] rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/tmp/rsync-2.6.6/io.c(1099) Hope that's clear now. hmmm, sounds like it may be a bug....... punch into google.... "rsync: read error: Connection reset by peer (104)" ...and you'll see a few references to cygwin bugs such as... https://bugzilla.samba.org/show_bug.cgi?id=2208 What i tend to do with my rsync backups of windows pc's is not use auth. I prefer to configure the conf file to only accept connections from my backuppc server. Thus i don't need to have secrets files everywhere. Try with no auth in the conf file, also remember to change backuppc's conf file to not require auth. Sample below.... use chroot = false
log file = c:/progra~1/rsyncd/rsyncd.log
pid file = c:/progra~1/rsyncd/rsyncd.pid
lock file = c:/progra~1/rsyncd/rsyncd.lock
[c]
path = c:/
comment = Dysk C
strict modes = false
hosts allow = 192.168.0.???
read
list = false
config.pl $Conf{RsyncdUserName} = ''; $Conf{RsyncdPasswd} = ''; $Conf{RsyncdAuthRequired} = 0; p.s. i use rsyncd-2.6.2 from backuppc on windows xp and 98 without problem connecting to backuppc 2.1.1. make sure you don't have any other cygwin utils which may be interfering with your rsync? Hope some of this helps, Regards, Les |
