Hmmm.  Well, I worked on this some more after I noted that someone made it 
work by moving the compression line.  In fact, there is a problem, and it is 
a bit weird.   Sorry for running hot and cold on this, but the problem shows 
up depending on the order of the options.

The problem was that introduction of the new code to support SHA-256 and 
SHA-512 is broken.  The instructions from the director are incorrect, or the 
new code in the FD is incorrect.  In any case, the FD "eats" the next option 
which it shouldn't.  In looking at this code, it might also have created an 
incompatibility with prior Directors, which is something that I wanted to 
avoid.

I think you can work around the problem by putting:

   signature = SHA1

as the last item in your Options block.

More later. 

On Tuesday 09 January 2007 13:48, Sebastien Guilbaud wrote:
> 
> I've partially upgraded to bacula2 (director and sd), all of
> my 1.38 fd's backups report software compression, and all recent
> fd's backups (1.39 and 2.0) report no software compression. I've
> verified the Options { } order trick in Fileset resource, all
> configuration files are almost the same :
> 
> FileSet {
>    Name = "my Set"
>    Include {
>      Options {
>        signature = SHA1
>        compression = gzip
>      }
>      File = /etc/
>      File = /var/www
>    }
> }
> 
> all fd's are correctly linked against zlib :
> 
>     linux-gate.so.1 =>  (0xffffe000)
>     libz.so.1 => /usr/lib/libz.so.1 (0x4001d000)
>     libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4002f000)
>     libwrap.so.0 => /lib/libwrap.so.0 (0x40041000)
>     libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4004a000)
>     libm.so.6 => /lib/tls/libm.so.6 (0x4011a000)
>     libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40140000)
>     libc.so.6 => /lib/tls/libc.so.6 (0x4014b000)
>     /lib/ld-linux.so.2 (0x40000000)
>     libnsl.so.1 => /lib/tls/libnsl.so.1 (0x40283000)
> 
> I've tried to run both fds in debug mode, teeing stdout
> to a file, but I found no references to compression
> events, no way to understand why I get
>    Software Compression:   30.9 %
> and
>    Software Compression:   None
> 
> any hints ??
> 
> have a nice day !
> 
> -- 
> Sébastien Guilbaud
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to