Hello Philipp,
05.01.2016 11:46, Philipp Storz wrote:
Hello Sergey,
On 05.01.2016 00:09, Сергей Коньков wrote:
Dear fellow users,
I'm just starting with Bareos. Please, can someone explain a certain oddity
with Fileset Include
Options?
I've got the following in my config:
============================
============================
The idea is simple: I'd like to use SHA1 signature and compress everything,
while excluding a few
things.
However, when I use bconsole command "show filesets", the fileset becomes like
this:
============================
============================
The two Options blocks are joined together. Why?
I guess this is a bug/limitation of the code that creates the configuration in
text form
out of the internal representation of the fileset definition.
Yes, seems like this is the case.
I didn't check thoroughly, but it seems because of this I'm missing compression
(i.e. observing no
substantial effect of compression). AFAIK if there is any match clauses inside
an Options block, the
relevant options would be applied only to matched files / dirs (source: the
docs). It seems as if
compression option is applied to excluded items.
Please check first if your fileset does what you expect.
I would expect that it does, and that the code that creates the fileset out of
the internal
representation is not sophisticated enough to translate the fileset back into
the text format.
Please report the results of your tests, so that we know where the problem is.
I've tried to do an actual backup with the config I specified - and
compression is working now. I have been too determined to get a normal
"show filesets" output before trying to do an actual backup. "Show
filesets" still prints joined blocks.
As for my previous result with no compression, I think my Options blocks
were in reverse order (i.e. excludes last), and IIRC the defaults must
be in the last Options block.
Thank you for pointing me in the right direction.
Best regards,
Sergey Konkov
Thank you very much,
Philipp
A few more experiments with Options blocks have shown the same behavior - they
become joined.
Am I missing something? Or probably misunderstanding something?
Best regards,
Sergey K.
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.