I have a command (setup by someone else of course) that reads: [code] rsync [OPTIONS....] rsync://<user>@<host>/<server> <destination> [/code] I don't get the <server> bit. There's no folder by the name <server> anywhere on <host>. <server> is in fact an external server which <host> has ethernet access to. It's shares are mounted on <host> using NFS. Everything seems to work fine but I just don't know how to interpret this command. -- View this message in context: http://samba.2283325.n4.nabble.com/Please-explain-the-syntax-used-here-tp4634447.html Sent from the Samba - rsync mailing list archive at Nabble.com.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In that syntax "server" is the module name defined in the rsyncd.conf file on "host" that maps to an actual path plus whatever pre-defined settings. On 07/12/12 01:07, Ash wrote:> I have a command (setup by someone else of course) that reads: > > [code] rsync [OPTIONS....] rsync://<user>@<host>/<server> > <destination> [/code] > > I don't get the <server> bit. There's no folder by the name > <server> anywhere on <host>. <server> is in fact an external server > which <host> has ethernet access to. It's shares are mounted on > <host> using NFS. > > Everything seems to work fine but I just don't know how to > interpret this command. > > -- View this message in context: > http://samba.2283325.n4.nabble.com/Please-explain-the-syntax-used-here-tp4634447.html > >Sent from the Samba - rsync mailing list archive at Nabble.com. - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. Kevin at FutureQuest.net (work) Orlando, Florida kmk at sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/+XcAACgkQVKC1jlbQAQfjngCdFjiTd1/I8wl+TSUpnHKGm2OZ PHIAn20u/Ibmw/xj4EVW0mWxf34cytyN =PKyQ -----END PGP SIGNATURE-----
Thanks a lot Kevin. Found the entry in rsyncd.conf. Just one final question.... Is this the way rsync resolves locations? I.e, if <dir> is not an actual directory on <host>, does it check for a module named <dir> defined in rsyncd.conf? Thanks, Ash -- View this message in context: http://samba.2283325.n4.nabble.com/Please-explain-the-syntax-used-here-tp4634447p4634454.html Sent from the Samba - rsync mailing list archive at Nabble.com.
Ash wrote> > Thanks a lot Kevin. Found the entry in rsyncd.conf. Just one final > question.... > > Is this the way rsync resolves locations? I.e, if <dir> is not an actual > directory on <host>, does it check for a module named <dir> defined in > rsyncd.conf? > > > Thanks, > Ash >Alright, after reading a bunch of tutorials on rsync, I get the feeling that synchronizing with the daemon requires the use of modules, i.e, you cannot use anything but a module name after <host>/. Still need some closure on this however.... -- View this message in context: http://samba.2283325.n4.nabble.com/Please-explain-the-syntax-used-here-tp4634447p4634455.html Sent from the Samba - rsync mailing list archive at Nabble.com.