[Bacula-users] Find a file in backup without exact name or path

2012-06-11 Thread M. Müller
Hi, a user deleted a file on a network share. There is a small chance that it is backuped up. Alas I do not know the exact path name nor the exact file name. I only know that it is (was) a Office document named something like *flyer*. Can the bconsole's restore command help me out or should i

Re: [Bacula-users] Find a file in backup without exact name or path

2012-06-11 Thread Domen Kožar
You will have to write an SQL query that does the following: - selects all jobs from the client that you are interested in - filter by path where backup was stored - generate path/filenames for all jobs (they are base64 encoded) - with programming language filter results by *flyer* Cheers, Domen

Re: [Bacula-users] Find a file in backup without exact name or path

2012-06-11 Thread Phil Stracchino
On 06/11/2012 04:51 PM, Domen Kožar wrote: You will have to write an SQL query that does the following: - selects all jobs from the client that you are interested in - filter by path where backup was stored - generate path/filenames for all jobs (they are base64 encoded) - with programming

Re: [Bacula-users] Find a file in backup without exact name or path

2012-06-11 Thread Rodrigo Renie Braga
There's a query that comes with Bacula that does something like that, it will return the JobID's where Bacula could find a determined filename. Check out the query command. If it comes up empty, you should verify the /etc/bacula/query.txt file (that path is when installing the Director using