title: Bacula search for a file using sql query
body: <p>I often need to find a file in bacula catalog to restore, but don't know the path or the jobid it was backed up in, nor the full name of the file, just a portion of the name. 
  Optimal solution would be an sql search in bacula catalog. I tried all versions of mysql queries inside bconole using sqlquery command of the form: </p>
  
  <pre><code>SELECT FROM Filename WHERE Name LIKE '%filename_portion%';
  </code></pre>
  
  <p>but get error on the syntaxis of sql command... 
  Any suggestions of the correct sql query format for the task? </p>
  
  <p>thanks
  Anton  </p>