Re: How to do server-side logging with rsync running through a SSH

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/...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-15-2005
Wayne Davison
 
Posts: n/a
Default Re: How to do server-side logging with rsync running through a SSH

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:29 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0