[Csync2] How to get Csync to update folders often

Michael Mansour mic at npgx.com.au
Fri Jun 30 06:31:36 CEST 2006


Hi Andreas,

> >>>>> On Thu, 29 Jun 2006 11:42:26 +0000, Aaron Randall
<aaron.randall at visionoss.com> said:
> 
>   > Hi all,
>   > This will sound like a stupid question, but I've just got csync2
>   > working with two servers, but I have to use "csync2 -xv" every 
> time I  > want to update them.  How can I get them to update the synchronized
>   > folders ofter (say every time a new file is created, or every few
>   > minutes or so)??
> 
> "-x" does a find over the filesystem which is costly, so you do not
> want to do it frequently.
> 
> If you run "-h" on every file and directory creation and deletion,
> then you can run "-cu" every minute because it is very fast.

How do you do this?

Do you cron a "-h" periodically and then a "-cu" ?

Michael.

> -- 
> andreas
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
------- End of Original Message -------



More information about the Csync2 mailing list