On Tuesday 09 January 2007 20:38, Thomas Glatthor wrote:
> Hi,
> 
> now i have the problem on linux, windows and *new* solaris :)
> (happens only if client and dir == 2.0.0,
> 2.0.0-dir with 1.38.11-clients works fine)
> 
> the exclude-directive works when it is the first option.
> >   Options       {
> >                 Exclude = yes
> >                 Wild     = "/home/oracle/*"
> >                 }
> 
> the exclude works not when signature = SHA1 is the first option and the 
exclude follows the signature
> 
> >   Options       {signature = SHA1
> >                 Exclude = yes
> >                 Wild     = "/home/oracle/*"
> >                 }
> 
> 
> and now the funny thing:
> the exclude works when the signature is set to md5
> 
> >   Options       {signature = MD5
> >                 Exclude = yes
> >                 Wild     = "/home/oracle/*"
> >                 }
> 
> 
> if the exclude works or not is only checked with the estimate-command.
> (but i have real backups with files saved that have to be excluded by my 
config, and they were excluded in real backups with
> 1.38.11)

Yes, the enhancement of the SHA code for the encryption project introduced a 
bug that clobbers (well, it eats it) the next option (in your case the 
exclude.  

Work around:

1.  Put your signature = SHA1 as the last item in the options list (i.e. after 
your Wild =.

2. Use signature = MD5.

3. I have a patch, but need to run the regression script, which takes a few 
hours -- i.e. I'll probably release a patch tomorrow, but at least there are 
some reasonable workarounds ...

Regards,

Kern

> 
> 
> Regards
> Thomas
> 
> 
> Thomas Glatthor schrieb:
> > looks like the excludes are broken too,
> > with client-version 1.38.11:
> > 
> > .......
> > x-fd: job.c:918 Fileset: W /home/oracle/*
> > ........
> > x-fd: find_one.c:151 File ----: /home/oracle/tnsnames.ora
> > x-fd: find.c:233 Exclude wild: /home/oracle/* 
file=/home/oracle/tnsnames.ora
> > x-fd: find.c:346 Skip file /home/oracle/tnsnames.ora
> > x-fd: match.c:343 exc is NULL
> > x-fd: match.c:343 exc is NULL
> > x-fd: match.c:343 exc is NULL
> > x-fd: match.c:343 exc is NULL
> > x-fd: match.c:343 exc is NULL
> > x-fd: find_one.c:151 File ----: /home/oracle/sqlnet.ora
> > .........
> > 2000 OK estimate files=11984 bytes=3,698,748,795
> > 
> > 5 minutes later, after the update:
> > .......
> > x-fd: job.c:1034 Fileset: W /home/oracle/*
> > ......
> > x-fd: find_one.c:210 File ----: /home/oracle/tnsnames.ora
> > x-fd: match.c:354 exc is NULL
> > x-fd: match.c:354 exc is NULL
> > x-fd: match.c:354 exc is NULL
> > x-fd: match.c:354 exc is NULL
> > x-fd: match.c:354 exc is NULL
> > x-fd: find_one.c:210 File ----: /home/oracle/sqlnet.ora
> > .........
> > 
> > 2000 OK estimate files=20439 bytes=5,017,681,592
> > 
> > can this be an user error?
> > 
> > Regards
> > Thomas
> > 
> > Thomas Glatthor schrieb:
> >> moving the "compression = GZIP" to the last include-line helps:
> >>
> >>
> >> garwein.gs.ic3s.de-fd: job.c:1034 Fileset: O SeZ6
> >> garwein.gs.ic3s.de-fd: job.c:663 O SeZ6
> >> garwein.gs.ic3s.de-fd: job.c:1002 Compression level=6
> >>
> >> grrr ... :)
> >>
> >>
> >> Thomas Glatthor schrieb:
> >>> i have the same problem on ix and win32 clients,
> >>> debug:
> >>>
> >>>> xxxx-fd: job.c:663 O SZ6e
> >>>> xxxx-fd: message.c:596 Enter dispatch_msg type=4 
msg=garwein.gs.ic3s.de-fd: ERROR in job.c:1008 Unknown include/exclude 
option: 6
> >>>> xxxx-fd: message.c:757 DIRECTOR for following msg: 
garwein.gs.ic3s.de-fd: ERROR in job.c:1008 Unknown include/exclude option: 6
> >>> ????
> >>>
> >>>
> >>> Sebastien Guilbaud schrieb:
> >>>> 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 !
> >>>>
> > 
> 
> -- 
> IC3S Information, Computer und Solartechnik AG
> Baekerbarg 6, 22889 Tangstedt, Germany
> 
> Telefon    +49.4109.555.121
> Telefax    +49.4109.555.57
> E-Mail     [EMAIL PROTECTED]
> Web        http://www.ic3s.de/
> 
> Vorstand: Jan Behrmann (Vorsitzender), Stefan Fehlauer
> Aufsichtsrat: Sven Niklasson (Vorsitzender)
> Dresdner Bank (200 800 00), Kto. 0123 9582 00
> Commerzbank (200 400 00), Kto. 8540 288
> Amtsgericht Kiel HRB 7590
> UST.IdNr. DE184532766
> 
> -------------------------------------------------------------------------
> 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