Dan Langille a écrit :
> On 8 Mar 2006 at 10:25, Baptiste Malguy wrote:
>
>
>>Hello People,
>>
>>Does anyone know something about compression issue I meet ?
>>
>>Thanks.
>>
>>Baptiste Malguy a écrit :
>>
>>>Hello,
>>>
>>>I definitly want to use compression for backups on disk.
>>>
>>>It works pretty well, except for:
>>>- FIFOs
>>>- Windows clients.
>>>
>>>I haven't seen any information about this specific cases.
>>>
>>>Here comes a part of the configuration in the case you see anything wrong.
>>>
>>>The "full" FileSet has a good compression rate, while the "mysql-dump"
>>>FileSet report as the following:
>>> Software Compression: None
>>>
>>>bacula-dir.conf:
>>>[...]
>>>FileSet {
>>> Name = full
>>> Include {
>>> @/etc/bacula/bacula-dir-fileset-common-include-options.conf
>>> File = /
>>> }
>>> Exclude {
>>> @/etc/bacula/bacula-dir-fileset-linux-exclude-files.conf
>>> }
>>>}
>>>
>>>FileSet {
>>> Name = mysql-dump
>>> Include {
>>> @/etc/bacula/bacula-dir-fileset-common-include-options.conf
>>> Options { readfifo = yes }
>>> File = /tmp/bacula-mysql-fifo
>>> }
>>>}
>
>
> The above Include has two Options sections. Perhaps that is the
> issue. If you have only one, what happens? Also, what happens if you
> don't use @?
Thank you for your idea, it looks this is the path to follow.
To isolate more easily the problem, I made a simpliest test case. With
the following example, I have compression. You see it contains 2 Options
sections.
Now, if I exchange their order (so the compression attribute in in the
1st section), I don't have compression anymore.
FileSet {
Name = server-test
Include {
Options {
onefs = no
}
Options {
signature = MD5
compression = GZIP
}
File = "c:/Documents and Settings/All Users"
}
Exclude {
}
}
My conclusion would be to say that only the last Options section is
taken into account. I made the test with "fstype = ext2". If it is in
the 1st Options section, the files are backed up. If it's in the second,
no files are backed up, which is right (server-test has an NTFS FS).
From http://www.bacula.org/dev-manual/Configuring_Director.html :
"The Include resource may also contain one or more Options resources
that specify options [...]"
Did I miss something ?
--
Baptiste MALGUY - IT Engineer SOLSOFT
PGP Fingerprint: 2A90 B6D1 855F 1584 FE68 94AC CCD6 36D0 3DC7 DCB8
www.solsoft.com - phone: +33 1 47 15 04 00 - fax: +33 1 47 15 55 09
How secure networks are managed.
signature.asc
Description: OpenPGP digital signature
