You need to include the dirs leading to there...
--include=httpd/, --include=httpd/conf.d/
Otherwise it will never look inside to see the cluster.d
(I am assuming you are right about lsyncd using the same patterns as rsync).
On 10/21/20 9:01 AM, lejeczek via rsync wrote:
> hi guys,
>
> I'm trying lsyncd with some patterns which should be just
> rsync's own patterns and I have these:
>
> rsync = { _extra = {
> "--include=samba**",
> "--include=postfix**",
> "--include=openvpn**",
> "--include=strongswan**",
> "--include=httpd/conf.d/cluster.d**",
> "--exclude=**",
> }
> }
>
> in my lsyncd.conf
> The rest of the config says the source dir, as well as the
> target, is '/etc'
> Now, stuff gets excluded and things as listed get included
> and go into target except for:
> "httpd/conf.d/cluster.d**"
>
> Obviously it isn't as simple as I presumed.
> How to make such sub-folder path included would you know?
> many thanks, L.
>
--
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
Kevin Korb Phone:(407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. ke...@futurequest.net (work)
Orlando, Floridak...@sanitarium.net (personal)
Web page: https://sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html