>>>>> On Wed, 7 Jan 2026 13:14:08 +0100, Stefan G Weichinger via Bacula-users 
>>>>> said:
> 
> Am 06.01.26 um 17:41 schrieb Martin Simmons:
> 
> > You need to use the exclude = yes option to remove some subset of the
> > files/directories.  Look at the examples for /home/b in
> > https://docs.baculasystems.com/BETechnicalReference/Director/DirectorResourceTypes/FilesetResource/index.html
> > 
> >> trial and error is a bit problematic, as these jobs are terabytes in
> >> size quickly.
> >>
> >> Do I remember correctly that someone posted some test-script for such 
> >> cases?
> > 
> > You can use use the "estimate job=... listing" command in bconsole to see 
> > what
> > will be backed up.
> 
> These 2 filesets give exactly the same estimate:
> 
> 
> Fileset {
>    Name = "Filme-abce"
>    Include {
>      File = "/data/multimedia/Filme"
>      Options {
>        WildDir = "/data/multimedia/Filme/a*"
>        WildDir = "/data/multimedia/Filme/b*"
>        WildDir = "/data/multimedia/Filme/c*"
>        WildDir = "/data/multimedia/Filme/e*"
>      }
>      Options {
>        Exclude = "Yes"
>        RegexDir = ".*"
>      }
>    }
> }
> Fileset {
>    Name = "Filme-d"
>    Include {
>      File = "/data/multimedia/Filme"
>      Options {
>        WildDir = "/data/multimedia/Filme/d*"
>      }
>      Options {
>        Exclude = "Yes"
>        RegexDir = ".*"
>      }
>    }
> }
> 
> why? Where's my mistake?

That should work.

Which directories does it select in the estimates for each fileset?

Is this Bacula 15.0.3 (the latest release)?

__Martin


_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to