Dear Gary, In message <47e756d8-782b-12a6-8f1d-e210eb90b...@mcleod-schmidt.id.au> you wrote: > On 14/12/2021 21:59, Uwe Schuerkamp wrote: > > Hi folks, > > > > I think it's a problem with the query file. Something changed in 11.x > > that broke the standard queries I've been using since 5.x or > > thereabouts. Maybe you can check the mailing list archives for earlier > > posts w/r to that issue, I seem to recall someone posted a patch.
I can confirm that the query.sql file is the culprit. > The query.sql file got deprecated, and subsequently nulled (I think) a > while ago. > > What is in the current source archive? That's canon, as opposed to > anything else. The problem is that the version of /usr/share/doc/bacula-director/sample-query.sql as sipped with the current Fedora packages still uses the old syntax. The difference is mostly using "Filename.Name" in the old code, while "File.FileName" is needed now. To fix, I copied the bacula/examples/sample-query.sql file from the top-of-tree in the git repository, and this works fine. Thanks for all who replied! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Make it right before you make it faster. _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users