Re: [Bacula-users] order declaration for fileset ressources
2008-08-13 07:07:47
thanks for your answer.
Alex Ehrlich wrote:
> The documentation states that "the 'general options of the last options
> statement'" are used *by default* (like compression, noatime etc). By
> default here means "if files are not included by an include statement
> with options explicitly".
> So this is an expected (although not obvious) behaviour IMO.
>
> Alex
>
> Jean-Yves Boisiaud wrote:
>> Hello,
>>
>> I'm using Bacula 2.4.2 on Linux, Windows and FreeBSD.
>>
>> I saw that order of declarations for fileset ressources was *important*.
>>
>> If I have the following fileset :
>>
>> FileSet {
>> Name = "HomeDirJYB"
>> Include {
>> Options {
>> signature = MD5
>> compression = GZIP
>> noatime = yes
>> checkfilechanges = no
>> onefs = yes
>> }
>> Options {
>> exclude = yes
>> WildDir = "/home/jyb/tmp"
>> WildDir = "/home/jyb/.mozilla/firefox/*/Cache"
>> }
>> File = /home/jyb
>> }
>> }
>>
>> When I run the backup, no software compression is enabled, as said in
>> the report after the backup is done.
>>
>> If I change the order of the declaration :
>>
>> FileSet {
>> Name = "HomeDirJYB"
>> Include {
>> Options {
>> exclude = yes
>> WildDir = "/home/jyb/tmp"
>> WildDir = "/home/jyb/.mozilla/firefox/*/Cache"
>> }
>> File = /home/jyb
>> Options {
>> signature = MD5
>> compression = GZIP
>> noatime = yes
>> checkfilechanges = no
>> onefs = yes
>> }
>>
>> }
>> }
>>
>> Compression is enabled. Why ?
>>
>> What about other options ? How can I be sure Bacula applies it ?
>>
>> In the mailing list of the Bacula users, I saw a thread taking about
>> this problem :
>> http://sourceforge.net/mailarchive/message.php?msg_id=576045.30604.qm%40web51609.mail.re2.yahoo.com
>>
>>
>>
>> But I do not find any bug report about this problem in the BTS of Bacula.
>>
>> Thanks for your insights.
>>
>> J-Yves
>>
>> -------------------------------------------------------------------------
>> 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
>>
>>
-------------------------------------------------------------------------
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
|
|
|