Bacula-users

Re: [Bacula-users] Include a subfolder in a exclude folder

2015-06-05 14:54:42
Subject: Re: [Bacula-users] Include a subfolder in a exclude folder
From: Bill Arlofski <waa-bacula AT revpol DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 05 Jun 2015 14:50:06 -0400
On 06/05/2015 12:00 PM, Erwan RIGOLLOT wrote:
> Hi,
> 
> Is it possible to include a subfolder in a exlude folder?
> 
> Thanks
> 
> Erwan


Hi Erwin,

Yes, I am pretty sure it is:

----8<--
Fileset {
  Name = ExcludeInclude_Test
  Include {
   Options {
    IgnoreCase = yes
    Signature = md5
   }
   File = /tmp/ExcludeInclude/ABC
  }
  Exclude {
   File = /tmp/ExcludeInclude
  }
}
----8<--

* est listing job=ExcludeInclude_Test_Job
...
Connecting to Client TestClient-fd at FQDN:9102
-rw-r--r--   1 root root  2296 2015-06-05 14:43:12  /tmp/ExcludeInclude/ABC
2000 OK estimate files=1 bytes=2,296


Although that example is of a file in an excluded folder, I am sure a folder
include would work the same. ;)

Bill


-- 
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>