push data instead of pull

Gautam Ganesh gaudam at yahoo.com
Tue Feb 19 07:26:08 EST 2002


Hi,

I have a rsync server set up.

Can i push data from the server to another machine
instead of pulling data from that machine.

when i try to do that i get this error.

mkdir tohost:/tmp ; No such file or directory.

But the directory exists. This is the command i
executed.

rsync -avz --rsync-path=/usr/bin/rsync 
fromhost::test tohost:/tmp

This works fine if iam logged onto "tohost" and pull
data i.e

rsync -avz --rsync-path=/usr/bin/rsync 
fromhost::test /tmp

This works fine if i do it without the server

rsync -avz --rsync-path=/usr/bin/rsync
 /disk1/tmp tohost:/tmp

I execute the above command logged on to the
"fromhost"
machine.


let me know if iam doing anything wrong.

thanks

gautam ganesh


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com




More information about the rsync mailing list