rsync on windows
calendarw
calendarw at gmail.com
Tue Mar 28 03:53:52 GMT 2006
Hi,
I have installed a rsync on windows which downloaded on
http://optics.ph.unimelb.edu.au/help/rsync/rsync_pc1.html
and run edited bat file content:
***********************************************
@echo off
set PATH=c:\rsync;%PATH%
set CYGWIN=tty binmode
set TERM=ansi
rem set RSYNC_RSH=c:\rsync\ssh.exe
set RSYNC_RSH=/cygdrive/c/rsync/ssh.exe
set USERNAME=myusername
set HOME=c:\rsync
echo Drive C >>c:\rsync\rsync.log
c:\rsync\gnudate >>c:\rsync\rsync.log
c:\rsync\rsync -auv --delete --exclude "/rsync/rsync.log"
"/cygdrive/c/Program Files/PostgreSQL/8.1/"
127.0.0.1:/cygdrive/c/lun/postgre >>c:\rsync\rsync.log
c:\rsync\gnudate >>c:\rsync\rsync.log
pause
***********************************************
It display a error said:
***********************************************
Secure connection to 127.0.0.1 refused; reverting to insecure method.
Using rsh. WARNING: Connection will not be encrypted.
rsync: read error: Connection reset by peer
rsync error: error in rsync protocal data stream <code 12> at io.c<151>
***********************************************
How to solve this problem to let it work on windows?
Remark: The firewall checked is off and the tcp port 873 is added.
--
Jr. P
calendarw
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list