Help: how to get the module list

Tal Dayan tal at zapta.com
Tue Aug 14 01:26:38 EST 2001


Thanks Pierre, this is a good idea, I will give it a try.

Tal

> -----Original Message-----
> From: rsync-admin at us5.samba.org [mailto:rsync-admin at us5.samba.org]On
> Behalf Of Pierre Abbat
> Sent: Saturday, February 10, 2001 3:23 PM
> To: Tal Dayan; rsync at us5.samba.org
> Subject: Re: Help: how to get the module list
> 
> 
> On Sat, 10 Feb 2001, Tal Dayan wrote:
> >We have a backup script (on Linux  x86 6.0) that retrieves the list of
> >modules (the '[name'] things defined in rsyncd.conf) of a remote 
> server and
> >than sync it in. This is done using the command:
> >
> >rsync --rsh=/usr/bin/rsh --recursive --times myserver.com::
> >
> >This lists the modules, one per line in the form '<module_name>
> ><module_description>'
> >
> >Now we are trying to switch to a secure connection over ssh using the
> >command:
> >
> >rsync -e ssh --recursive --times myserver.com:
> >
> >this however gives a long list of the files on the remote server 
> rather then
> >the list of modules. I find it strange since all we change is 
> the transport.
> >
> >How can we get the list of modules over a secure connection ?
> 
> Modules aren't used when you use rsync over ssh. You might try 
> forwarding port
> 873 (the rsync port) over ssh from some unused local port and 
> using the --port
> option to rsync to that port on localhost.
> 
> phma
> 




More information about the rsync mailing list