Hello Martin,

FileSet {
  Name = "Full Set"
  Include {
     Options {
          compression = gzip
     }
     Options {
           RegexFile = "\.[gG]?[zZ][iI][pP]"
           RegexFile = "\.[jJ][pP][eE]?[gG]"
          exclude = yes
     }
     File = /
  }
}

This should work.

Best regards,
Ana

On Tue, Aug 25, 2015 at 11:10 AM, Martin Feldbacher <
martin.feldbac...@stegbauer.info> wrote:

> Hello,
>
> I'm searching help with a fileset which only compresses files which are
> not already compressed (like gzip,jpeg,mpeg and so on) in my whole root
> directory..
> my first idea was the following:
>
>
> FileSet {
>   Name = "Full Set"
>   Include {
>      Options {
>           RegexDir = regex for all files with ending .gzip, .zip, .jpeg,
> and so on
>      }
>      Options {
>           RegexDir = inverted regex from above, don't know if this works
>           compression = gzip
>      }
>      File = /
>   }
> }
>
> but then I saw the examples at
> http://www.bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html
> so that this doesn't work..
>
> does anybody have an idea how to solve this without creating two filesets
> for one client?
>
> thankfull for any help,
>
> greets
> martin
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to