This is a discussion on Re: How to do server-side logging with rsync running through a SSH within the Rsync forums, part of the Networking and Network Related category; On Wed, Sep 14, 2005 at 04:22:01PM -0300, Igor Hjelmstrom Vinhas Ribeiro wrote: > rsync --config=/home/igor/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Wed, Sep 14, 2005 at 04:22:01PM -0300, Igor Hjelmstrom Vinhas Ribeiro wrote:
> rsync --config=/home/igor/rsyncd.conf --daemon --server --sender -vr . > ./somefolder/somewhere A modern rsync would reject that command-line as invalid (since --sender and -r aren't daemon options, and paths aren't sent to a daemon on the command-line -- such client-to-server items are sent to the daemon via the internal protocol). I gave a basic answer to this question of server-side logging using a daemon-over-ssh setup back on August 24th (it's pretty terse, though): http://lists.samba.org/archive/rsync...st/013359.html The important bit is to make sure that the client command is using daemon-style host syntax (it sounds like you're not if your rsync_shell script is checking path names -- there's no need to check paths with daemon mode since the modules set their own path, nor is it possible without parsing the start of the incoming data). Also, make sure you're using a modern enough rsync that supports daemon-mode over ssh (it was added in 2.5.6) and make sure that you're sending rsync a valid daemon command-line. ...wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html |
![]() |
| Thread Tools | |
| Display Modes | |
|
|