Hello,

On 3/8/2006 2:52 PM, Baptiste Malguy wrote:
after some discussion with Dan
...
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 ?

Yup.

The next paragraphs. ;-)

For example this paragraph:

"However, one additional point is that in the case that no match was found, Bacula will use the options found in the last Options resource. As a consequence, if you want a particular set of "default" options, you should put them in an Options resource after any other Options."

Arno

--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to