syntax for push to remote rsync server

Dave Dykstra dwd at bell-labs.com
Fri Aug 30 12:04:02 EST 2002


In released versions of rsync, you can't combine ssh and daemon mode with
"::"; the -e command is ignored.  In the developer's version of rsync in CVS,
that functionality was recently added.   It's not clear whether or not
that's what you really want, however.  What features of the rsync daemon
mode were you hoping to take advantage of?

- Dave Dykstra


On Fri, Aug 30, 2002 at 04:31:53PM +0100, Fanning, Niall wrote:
> Hi,
> 
> 	I have set up two servers as rsync servers with ssh, they sync
> agianst each other. I can pull data down from either remote node when logged
> into one of them, using a module defined on both servers. However I don't
> seem to be able to push from the localhost to the remote rsync server. I
> think I'm using the incorrect syntax. If someone could highlight where I'm
> going wrong it would be great.
> 
> 
> I can pull down from remote host beqoas2 to localhost beqoas1 using the
> rsync
> rsync -Cvaupogzb --suffix=-`date '+%H:%M-%d-%m-%y'`  -e ssh beqoas2::test
> /var/tmp/rsync-test/
> 
> test is the module name
> 
> I can push from localhost beqoas2 to beqoas1 but not using the rsync server
> rsync -cvaupogzb --suffix=-`date '+%H:%M-%d-%m-%y'` -e ssh file1
> beqoas1:/tmp/file1
> 
> I can't push from localhost to remote a rsync server
> rsync -Cvaupogzb --suffix=-`date '+%H:%M-%d-%m-%y'`  -e ssh
> /var/tmp/rsync-test/  beqoas2::test /var/tmp/rsync-test/
> 
> again test is the module name
> 
> Thanks,
> Niall.



More information about the rsync mailing list