Bacula-users

Re: [Bacula-users] Bacula not compressing even though it's in the config

2008-09-04 12:48:30
Subject: Re: [Bacula-users] Bacula not compressing even though it's in the config
From: Hemant Shah <hjrrs AT yahoo DOT com>
To: bacula-users AT lists.sourceforge DOT net, "Joshua J. Kugler" <joshua AT eeinternet DOT com>
Date: Thu, 4 Sep 2008 09:47:12 -0700 (PDT)


--- On Thu, 9/4/08, Joshua J. Kugler <joshua AT eeinternet DOT com> wrote:

> From: Joshua J. Kugler <joshua AT eeinternet DOT com>
> Subject: [Bacula-users] Bacula not compressing even though it's in the config
> To: bacula-users AT lists.sourceforge DOT net
> Date: Thursday, September 4, 2008, 1:11 AM
> I have a Bacula setup working well backing up two Windows
> boxes.  It's 
> using VSS, but it's not honoring the compression
> setting (i.e. it's not 
> compressing).  I've read the sections about file sets
> and VSS.  As far 
> as I can tell, my config is right.  Can someone tell me
> what might be 
> wrong with the fileset below. Thanks!
> 
> FileSet {
>   Name = "winDefault"
> 
>   Include {
> 
>     Options {
>       signature = SHA1
>       compression = GZIP
>       verify = s1
>     }
> 
>     Options {
>       Exclude = yes
>       IgnoreCase = yes
>       WildFile = "*.mp3"
>       WildFile = "*.wma"
>       WildFile = "*.m4a"
>       WildFile = "*.m4p"
>       WildFile = "*.asx"
>       WildFile = "*.wmv"
>     }
> 
>     Options {
>       Exclude = yes
>       IgnoreCase = yes
>       # Most of these files are excluded not because we
> don't want
>       #  them, but because Win2K won't allow them to be
> backed up
>       #  except via proprietary Win32 API calls.
>       WildFile = "c:/Documents and
> Settings/*/Application 
> Data/*/Profiles/*/*/Cache/*"
>       WildFile = "c:/Documents and Settings/*/Local
> Settings/Application 
> Data/Microsoft/Windows/[Uu][Ss][Rr][Cc][Ll][A$
>       WildFile = "c:/Documents and
> Settings/*/[Nn][Tt][Uu][Ss][Ee]
> [Rr].*"
>       WildFile = "c:/Documents and
> Settings/*/Cookies/*"
>       WildFile = "c:/Documents and Settings/*/Local
> Settings/History/*"
>       WildFile = "c:/Documents and Settings/*/Local
> Settings/Temporary 
> Internet Files/*"
>       WildFile = "c:/Documents and Settings/*/Local
> Settings/Temp/*"
> 
>       # Exclude Mozilla-based programs' file caches
>       WildDir = "[A-Z]:/Documents and
> Settings/*/Application 
> Data/*/Profiles/*/*/Cache"
>       WildDir = "[A-Z]:/Documents and
> Settings/*/Application 
> Data/*/Profiles/*/*/Cache.Trash"
>       WildDir = "[A-Z]:/Documents and
> Settings/*/Application 
> Data/*/Profiles/*/*/ImapMail"
> 
>       # Exclude user's registry files - they're
> always in use anyway.
>       WildFile = "[A-Z]:/Documents and
> Settings/*/Local 
> Settings/Application
> Data/Microsoft/Windows/usrclass.*"
>       WildFile = "[A-Z]:/Documents and
> Settings/*/ntuser.*"
>       # Exclude directories full of lots and lots of
> useless little 
> files
>       WildDir = "[A-Z]:/Documents and
> Settings/*/Cookies"
>       WildDir = "[A-Z]:/Documents and
> Settings/*/Recent"
>       WildDir = "[A-Z]:/Documents and Settings/*/Local
> Settings/History"
>       WildDir = "[A-Z]:/Documents and Settings/*/Local
> Settings/Temp"
>       WildDir = "[A-Z]:/Documents and Settings/*/Local
> 
> Settings/Temporary Internet Files"
> 
>       # These are always open and unable to be backed up
>       WildFile = "[A-Z]:/Documents and Settings/All
> Users/Application 
> Data/Microsoft/Network/Downloader/qmgr[01].dat"
>     }
>     File = "c:/Documents and Settings"
>   }
> }
> 
> -- 
> Joshua Kugler
> Part-Time System Admin/Programmer
> http://www.eeinternet.com
> PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> Build the coolest Linux based applications with Moblin SDK
> & win great prizes
> Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

I had same problem, adding compression option after "File =" withing Include 
resource made it work.

Following works for me:

Fileset
{
   ......

   Include
   {
      Options
      {
          .....
      }

      File = ......

      Options
      {
         compression = gzip
      }
   }
   ......
}



Hemant Shah
E-mail: hjrrs AT yahoo DOT com


      

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users