Hello Arno Lehmann a écrit : >> } >> >> 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. ;-) Oh no, I did that ...
> > 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." > Worst: "The Options resources are applied in the order they are specified in the FileSet until the first one that matches." "A key point is that in the absence of an Option or no other Option is matched, every file is accepted for backing up. This means that if you want to exclude something, you must explicitly specify an Option with an exclude = yes and some pattern matching." -2 points Thank you Arno. Once again, RTFM is a good thing, but RTFMC (C = carefully) is better ;-) -- 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. ------------------------------------------------------- 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&kid0944&bid$1720&dat1642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users