Re: [Bacula-users] List files in a volume

2015-04-23 Thread Ana Emília M . Arruda
Much more simple. I thought the script for a huge number of jobs and files. Thank you. Best regards, Ana On Thu, Apr 23, 2015 at 5:07 AM, Radosław Korzeniewski < rados...@korzeniewski.net> wrote: > Hello, > > 2015-04-22 18:07 GMT+02:00 bdam : > >> One final question about this - when i issue

Re: [Bacula-users] List files in a volume

2015-04-23 Thread Radosław Korzeniewski
Hello, 2015-04-22 18:07 GMT+02:00 bdam : > One final question about this - when i issue the query command from the > console this way, is there a way to either pagenate the results or send > them to a file Use @output filename.txt in the bconsole to redirect all the output to the file. Then sim

Re: [Bacula-users] List files in a volume

2015-04-22 Thread Ana Emília M . Arruda
Hi, Maybe something like this: #!/bin/bash VOLUME=$1 DBHOST=localhost DATABASE=bacula USER="" PASSWORD="" JOBS=($(mysql --host=$DBHOST --database=$DATABASE --user=$USER --password=$PASSWORD -N -e "SELECT DISTINCT Job.JobId as JobId,Job.Name as Name,Job.StartTime as StartTime, Job.Type as Type,J

Re: [Bacula-users] List files in a volume

2015-04-22 Thread Roberts, Ben
Hi, > It would be far quicker to find the files I needed > and it means I can do this search without interfering with the daily > backups which are using the same drive. By the way, the CCTV isn't on 100% > of the time, so having said that the files might not be present and/or the > filenames not