Just as an information:

- most of my windows 2K clients (with winbacula 1.38.10) didn't like very
much to have no compression specified at all in the option clause! Going
back to gzip1 solved the problem!

2007/8/7, Arno Lehmann <[EMAIL PROTECTED]>:
>
> Hi,
>
> 07.08.2007 11:48,, Alexandre Chapellon wrote::
> > Hello,
> >
> > I am running bacula on mysite (about 100 servers, with differents OS),
> > and am quite happy about it.
> > Recently I changed my filesets to speedup the backup and avoid
> > compression problem with some files.
> > What I want is:
> >
> >  - not to compress already compressed files (eg: jpg...)
> >  - not to save at all "useless" files (eg: .ldb access lock files...)
> >
> > So I wrote the following fileset:
>
> Oh, filesets with exclusions and wildcards... my favourite waste of
> time in Bacula ;-)
>
> Just one hint for now: The options section that matches *first* will
> be applied, so you should define the options starting with the most
> specific definitions first.
>
> In your case, the first option block could be the one defining the
> excludes, then the one defining the files not to get compressed -
> simply omit the compression keyword here - and lastly, as a catch-all
> for the remaining files, set your defaults including compression.
>
> Also note that a fileset change will trigger a new full backup, so
> before playing around with the options, set "Ignore Fileset Changes",
> or use the "estimate listing" command to verify your fileset works as
> it should.
>
> Arno
>
> > ####################################################################
> > FileSet {
> >   Name = "DataToSave"
> >   Include {
> >     Options {                      ## Normal compression
> >       signature = MD5              ## for
> >       compression = GZIP           ## normals files
> >     }
> >     Options {
> >       signature = MD5              ## list of
> >       compression = GZIP1          ## extensions
> >       wildfile = "*.mpg"           ## I would
> >       wildfile = "*.mpeg"          ## like not to
> >       wildfile = "*.pdf"           ## be compressed
> >       wildfile = "*.gz"            ## ...
> >       wildfile = "*.tgz"           ## In fact
> >       wildfile = "*.zip"           ## I use the
> >       wildfile = "*.rar"           ## lower compression
> >       wildfile = "*.mdb"           ## level, because
> >       wildfile = "*.avi"           ## I couldn't
> >       wildfile = "*.flv"           ## find out
> >       wildfile = "*.swf"           ## how to
> >       wildfile = "*.gif"           ## completly disable
> >       wildfile = "*.png"           ## software compression.
> >       wildfile = "*.jpg"           ##
> >       wildfile = "*.jpeg"          ##
> >     }
> >     Options {
> >       exclude = yes
> >       wildfile = "*.LDF"           ## list of
> >       wildfile = "*.MDF"           ## extensions I want to
> >       wildfile = "*.ldb"           ## exclude completly
> >     }
> >   File = "d:/PathToSave"           ## The place I want to backup
> >   }
> > }
> > ####################################################################
> >
> > Can anyone can take a look at it and tell me if the will behave as
> > expected.
> >
> > thanks guys! (and girls :p)
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> --
> Arno Lehmann
> IT-Service Lehmann
> www.its-lehmann.de
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to