On 31.8.2003 5:09 Ernie Schroder wrote:


Jussi,
Thanks for your help. It seems to be working, except for the rsync itself.
Probably due to my own stupidity, the host name of the remote machine is Ernie.schroder.com. This may be my problem. when I try to run the script, I get:


<snip>
Performing backup...

Ernie.schroder.com: Connection refused
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
<snip>
Is this a syntax error or due to my hostname?
Suggestions?

I havn't used rsync that much but check out rsyn's man page and especially the --rsh parameter. You should propably add someting like --rsh="ssh" to the rsync command.


Jussi Sirpoma


-- [EMAIL PROTECTED] mailing list



Reply via email to