Bacula-users

Re: [Bacula-users] About gzip compression on windows

2008-08-14 07:36:53
Subject: Re: [Bacula-users] About gzip compression on windows
From: Bruno Friedmann <bruno AT ioda-net DOT ch>
Date: Thu, 14 Aug 2008 13:35:44 +0200
Hi Ismail

You got 2 include/option in your fileset, the second destroy the compression 
set before.

Here a full windows 2003 server with which I obtain a good average in 
compression and speed
comment are on a one ligne or beging with #

# Filset FULL for windows
FileSet {
    Name = "FileSet_SRVW2K3_Full"
    Enable VSS = yes                                    # On utilise Volume 
Shadow Copy under windows ( could cause trouble for Win < XP or 2003 )

    Include {
      Options {
         Signature=SHA1         # La signature permet de vérifier l'intégrité 
des fichiers
         Compression=GZIP2      # Compression GZIP/BZIP et niveau 0 à 9 (c'est 
le client qui compresse)
                onefs=yes               # Il faut spécifier manuellement les 
autres points de montage
                                        # mais évite de sauver des partages 
réseaux, disques externes etc.
                Portable = no           # Yes pour permettre la restoration sur 
d'autres systèmes mais les sécurités et attibuts étendus sont 
supprimés.
        IgnoreCase = yes
        Noatime=yes                                     # Pas de modification 
de la date d'accès (mailbox et autres)
        Verify=sm1                                      # Utiliser lors du job 
Verify
        Exclude = yes   

    # A Windows 2003 / XP (adjust for Windows 2000 or Vista)
                # 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/*"
                
                # Some random bits of Windows we want to ignore
                WildFile = "[A-Z]:/WINDOWS/security/logs/scepol.log"
                WildDir = "[A-Z]:/WINDOWS/system32/config"
                WildDir = "[A-Z]:/WINDOWS/msdownld.tmp"
                WildDir = "[A-Z]:/WINDOWS/Internet Logs"
                WildDir = "[A-Z]:/WINDOWS/$Nt*Uninstall*"
                WildDir = "[A-Z]:/WINDOWS/sysvol"
                WildFile = "[A-Z]:/WINDOWS/cluster/CLUSDB"
                WildFile = "[A-Z]:/WINDOWS/cluster/CLUSDB.LOG"
                WildFile = "[A-Z]:/WINDOWS/NTDS/edb.log"
                WildFile = "[A-Z]:/WINDOWS/NTDS/ntds.dit"
                WildFile = "[A-Z]:/WINDOWS/NTDS/temp.edb"
                WildFile = "[A-Z]:/WINDOWS/ntfrs/jet/log/edb.log"
                WildFile = "[A-Z]:/WINDOWS/ntfrs/jet/ntfrs.jdb"
                WildFile = "[A-Z]:/WINDOWS/ntfrs/jet/temp/tmp.edb"
                WildFile = "[A-Z]:/WINDOWS/system32/CPL.CFG"
                WildFile = "[A-Z]:/WINDOWS/system32/dhcp/dhcp.mdb"
                WildFile = "[A-Z]:/WINDOWS/system32/dhcp/j50.log"
                WildFile = "[A-Z]:/WINDOWS/system32/dhcp/tmp.edb"
                WildFile = "[A-Z]:/WINDOWS/system32/LServer/edb.log"
                WildFile = "[A-Z]:/WINDOWS/system32/LServer/TLSLic.edb"
                WildFile = "[A-Z]:/WINDOWS/system32/LServer/tmp.edb"
                WildFile = "[A-Z]:/WINDOWS/system32/wins/j50.log"
                WildFile = "[A-Z]:/WINDOWS/system32/wins/wins.mdb"
                WildFile = "[A-Z]:/WINDOWS/system32/wins/winstmp.mdb"
                
                # Temporary directories & files
                WildDir = "[A-Z]:/WINDOWS/Temp"
                WildDir = "[A-Z]:/temp"
                WildFile = "*.tmp"
                WildDir = "[A-Z]:/tmp"
                WildDir = "[A-Z]:/var/tmp"
                
                # Recycle bins
                WildDir = "[A-Z]:/RECYCLER"
                
                # Swap files
                WildFile = "[A-Z]:/pagefile.sys"
                
                # These are programs and are easier to reinstall than restore 
from backup
                WildDir = "[A-Z]:/cygwin"
                WildDir = "[A-Z]:/Program Files/Grisoft"
                WildDir = "[A-Z]:/Program Files/Java"
                WildDir = "[A-Z]:/Program Files/Java Web Start"
                WildDir = "[A-Z]:/Program Files/JavaSoft"
                WildDir = "[A-Z]:/Program Files/Microsoft Office"
                WildDir = "[A-Z]:/Program Files/Mozilla Firefox"
                WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird"
                WildDir = "[A-Z]:/Program Files/mozilla.org"
                WildDir = "[A-Z]:/Program Files/OpenOffice*"
        }

   #  C: and D: as the main hard drives.
   File = "c:/"
   # File = "d:/"
  }
}

Ismail OZATAY wrote:
> Hello all ,
> 
> Is anybody write me how can i use Gzip compression on windows bacula file 
> daemon. I have only one sql server and backing up data on it. I have already 
> enabled gzip compression in the config file also it backs up the the data 
> without compressing. I installed gzip for windows and set the paths but i do 
> not understand why it does not work ? Can i fix it ?
> 
> bacula-dir.conf
> ************
> Pool {
>   Name = DbsrvPool
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 365 days
>   Label Format = Dbsrv-
> }
> 
> Client {
>   Name = dbsrv-fd
>   Address = dbsrv
>   FDPort = 9102
>   Catalog = MyCatalog
>   Password = "password"
>   File Retention = 30 days
>   Job Retention = 6 months
>   AutoPrune = yes
> }
> 
> FileSet {
>   Name = dbsrvfileset
>   Enable VSS = yes
>   Include {
>     Options {
>       Compression=GZIP
>       }
>       }
>   Include {
>     Options {
>         wildfile = "*.exe"
>         wildfile = "*.mp3"
>         wildfile = "*.avi"
>         wildfile = "*.mpg"
>         wildfile = "*.mpeg"
>         Exclude = yes
>         }
>     File = "E:/MSSQL/BACKUP"
> 
> }
> }
> 
> Job {
>   Name = dbsrvyedek
>   Type = Backup
>   Level = Full
>   Client = dbsrv-fd
>   FileSet = dbsrvfileset
>   Schedule = dbsrvjob
>   Storage = File2
>   Pool = DbsrvPool
>   Messages = Standard
> }
> 
> Schedule {
>   Name = dbsrvjob
>   Run = Level=Full Pool=DbsrvPool sun at 23:50
>   Run = Level=Incremental Pool=DbsrvPool mon-sat at 23:50
> 
> 
> 
> Thanks
> 
> ismail 
> 


-- 

      Bruno Friedmann

Ioda-Net Sàrl   - www.ioda-net.ch
   2830 Vellerat - Switzerland

   Tél : ++41 32 435 7171
   Fax : ++41 32 435 7172
   gsm : ++41 78 802 6760

C'est Facile et Cool d'Évoluer en ligne : www.cfcel.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
<Prev in Thread] Current Thread [Next in Thread>