mysql - Bacula search for a file using sql query -
i need find file in bacula catalog restore, don't know path or jobid backed in, nor full name of file, portion of name. optimal solution sql search in bacula catalog. tried versions of mysql queries inside bconole using sqlquery command of form:
select filename name '%filename_portion%';
but error on syntaxis of sql command... suggestions of correct sql query format task?
thanks anton
you need select something in select statement. filename:
select filename filename name '%filename_portion%';
for entire record:
select * filename name '%filename_portion%';
Comments
Post a Comment