Configuring Rsync to run without any user input or Cron job.

2008-11-19 Thread Etienne D
Hi ! I would like to know if it's possible for Rsync to automatically mirror a folder and it's content from one deamon to another. (or one client to a deamon) Basically I want users to drag and drop files in a folder and Rsync to mirror these files as soon as it sees them. A cron or schedule

Re: Configuring Rsync to run without any user input or Cron job.

2008-11-19 Thread Kyle Lanclos
Etienne wrote: I would like to know if it's possible for Rsync to automatically mirror a folder and it's content from one deamon to another. (or one client to a deamon) Basically I want users to drag and drop files in a folder and Rsync to mirror these files as soon as it sees them. A cron or

Re: Configuring Rsync to run without any user input or Cron job.

2008-11-19 Thread Matthias Schniedermeyer
On 19.11.2008 07:03, Etienne D wrote: Hi ! I would like to know if it's possible for Rsync to automatically mirror a folder and it's content from one deamon to another. (or one client to a deamon) Basically I want users to drag and drop files in a folder and Rsync to mirror these files as

are hardlinks supported when rsyncing over ssh?

2008-11-19 Thread Matthew Monaco
Subject should be enough: are hardlinks supported when rsyncing over ssh? I know that I cannot do anything with hardlinks if I'm using SSHFS over FUSE, I was wondering if rsync is plagued by the same problem. Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To

Re: are hardlinks supported when rsyncing over ssh?

2008-11-19 Thread Matt McCutchen
On Wed, 2008-11-19 at 15:53 -0500, Matthew Monaco wrote: Subject should be enough: are hardlinks supported when rsyncing over ssh? Rsync's --hard-links option preserves hard links; the type of connection being used (ssh or otherwise) does not matter. See the man page description of --hard-links

chdir / chroot after pre-xfer ?

2008-11-19 Thread AZ 9901
Hello, I am trying to configure rsyncd to mount destination encrypted FS (using EncFS) before syncing. In my rsyncd.conf : [test] path = /home/dest ... pre-xfer exec = sleep 30 ; echo mypassword | encfs -S /home/ encrypteddir /home/dest ; sleep 30 (I have put sleep 30 instructions just

Re: Configuring Rsync to run without any user input or Cron job.

2008-11-19 Thread Michal Soltys
Etienne D wrote: Hi ! I would like to know if it's possible for Rsync to automatically mirror a folder and it's content from one deamon to another. (or one client to a deamon) Basically I want users to drag and drop files in a folder and Rsync to mirror these files as soon as it sees them. A

Re: chdir / chroot after pre-xfer ?

2008-11-19 Thread Wayne Davison
On Wed, Nov 19, 2008 at 10:13:41PM +0100, AZ 9901 wrote: Could it be possible to force rsyncd to do the chdir() after pre-xfer ? That is not currently possible because rsync wants to tell the pre-xfer process about the options that the client sent (such as what module is being requested), and