Bacula-users

[Bacula-users] Running my first job, why Bacula not compressing files?

2008-05-22 10:11:32
Subject: [Bacula-users] Running my first job, why Bacula not compressing files?
From: "Reynier Perez Mira" <rperezm AT uci DOT cu>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 22 May 2008 10:10:05 -0400
Hi,
I have this sections in bacula-dir.conf file for XPSP3 Job:

JobDefs {
  Name = "JobsDefWin32Client-2"
  Type = Backup
  Level = Incremental
  Client = xpsp3-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Default
  Priority = 10
}

Job {
  Name = "XPSP3"
  JobDefs = "JobsDefWin32Client-2"
  Write Bootstrap = "/var/bacula/working//JobsDefWin32Client-2.bsr"
}

FileSet {
  Name = "Win32FileSet"
  Include {
     Options {
        compression = GZIP
        signature = SHA1
        wildfile = "*.o"
        wildfile = "*.exe"
        Exclude = yes
        checkfilechanges=yes
     }

     Options {
        IgnoreCase = yes
        # 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"

        # 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]:/WINNT/system32/CPL.CFG"
        WildFile = "[A-Z]:/WINNT/system32/dhcp/dhcp.mdb"
        WildFile = "[A-Z]:/WINNT/system32/dhcp/j50.log"
        WildFile = "[A-Z]:/WINNT/system32/dhcp/tmp.edb"
        WildFile = "[A-Z]:/WINNT/system32/LServer/edb.log"
        WildFile = "[A-Z]:/WINDOWS/ntfrs/jet/ntfrs.jdb"
        WildFile = "[A-Z]:/WINDOWS/ntfrs/jet/temp/tmp.edb"
        WildFile = "[A-Z]:/WINNT/system32/CPL.CFG"
        WildFile = "[A-Z]:/WINNT/system32/dhcp/dhcp.mdb"
        WildFile = "[A-Z]:/WINNT/system32/dhcp/j50.log"
        WildFile = "[A-Z]:/WINNT/system32/dhcp/tmp.edb"
        WildFile = "[A-Z]:/WINNT/system32/LServer/edb.log"
        WildFile = "[A-Z]:/WINNT/system32/LServer/TLSLic.edb"
        WildFile = "[A-Z]:/WINNT/system32/LServer/tmp.edb"
        WildFile = "[A-Z]:/WINNT/system32/wins/j50.log"
        WildFile = "[A-Z]:/WINNT/system32/wins/wins.mdb"
        WildFile = "[A-Z]:/WINNT/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*"
     }

     File = D:/EclipsePDT
  }
}

As you can see I have compression enabled (compression = GZIP). When I run the 
Job I get this output:

#run XPSP3
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Run Backup job
JobName:  XPSP3
Level:    Incremental
Client:   xpsp3-fd
FileSet:  Win32FileSet
Pool:     Default (From Job resource)
Storage:  FileServer (From Job resource)
When:     2008-05-22 09:48:47
Priority: 10
OK to run? (yes/mod/no): Unexpected question has been received.
yes
Job queued. JobId=9
22-May 09:48 DTServer-Director JobId 9: No prior Full backup Job record found.
22-May 09:48 DTServer-Director JobId 9: No prior or suitable Full backup found 
in catalog. Doing FULL backup.
22-May 09:48 DTServer-Director JobId 9: Start Backup JobId 9, 
Job=XPSP3.2008-05-22_09.48.03
22-May 09:48 DTServer-Director JobId 9: Using Device "FileStorage"
22-May 09:48 DTServer-StorageDaemon JobId 9: Volume "BaculaTest" previously 
written, moving to end of data.
22-May 09:48 DTServer-StorageDaemon JobId 9: Ready to append to end of Volume 
"BaculaTest" size=7501
22-May 08:57 xpsp3-fd JobId 9: Generate VSS snapshots. Driver="VSS WinXP", 
Drive(s)="D"
22-May 09:01 xpsp3-fd JobId 9: VSS Writer (BackupComplete): "WMI Writer", 
State: 0x1 (VSS_WS_STABLE)
22-May 09:01 xpsp3-fd JobId 9: VSS Writer (BackupComplete): "MSDEWriter", 
State: 0x1 (VSS_WS_STABLE)
22-May 09:01 xpsp3-fd JobId 9: VSS Writer (BackupComplete): "Microsoft Writer 
(Service State)", State: 0x1 (VSS_WS_STABLE)
22-May 09:01 xpsp3-fd JobId 9: VSS Writer (BackupComplete): "Microsoft Writer 
(Bootable State)", State: 0x1 (VSS_WS_STABLE)
22-May 09:53 DTServer-StorageDaemon JobId 9: Job write elapsed time = 00:04:22, 
Transfer rate = 1.170 M bytes/second
22-May 09:53 DTServer-Director JobId 9: Bacula DTServer-Director 2.2.8 
(26Jan08): 22-May-2008 09:53:15
  Build OS:               i686-pc-linux-gnu debian lenny/sid
  JobId:                  9
  Job:                    XPSP3.2008-05-22_09.48.03
  Backup Level:           Full (upgraded from Incremental)
  Client:                 "xpsp3-fd" 2.2.9-b6 (06Apr08) 
Linux,Cross-compile,Win32
  FileSet:                "Win32FileSet" 2008-05-22 09:48:50
  Pool:                   "Default" (From Job resource)
  Storage:                "FileServer" (From Job resource)
  Scheduled time:         22-May-2008 09:48:47
  Start time:             22-May-2008 09:48:52
  End time:               22-May-2008 09:53:15
  Elapsed time:           4 mins 23 secs
  Priority:               10
  FD Files Written:       5,960
  SD Files Written:       5,960
  FD Bytes Written:       305,551,766 (305.5 MB)
  SD Bytes Written:       306,775,309 (306.7 MB)
  Rate:                   1161.8 KB/s
  Software Compression:   None
  VSS:                    yes
  Storage Encryption:     no
  Volume name(s):         BaculaTest
  Volume Session Id:      2
  Volume Session Time:    1211467074
  Last Volume Bytes:      307,145,236 (307.1 MB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK

22-May 09:53 DTServer-Director JobId 9: Begin pruning Jobs.
22-May 09:53 DTServer-Director JobId 9: No Jobs found to prune.
22-May 09:53 DTServer-Director JobId 9: Begin pruning Files.
22-May 09:53 DTServer-Director JobId 9: No Files found to prune.
22-May 09:53 DTServer-Director JobId 9: End auto prune.

Why Bacula doesn't compress the files?

Cheers and thanks in advance
Ing. Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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>