Hello Claudia, you can use query command for querying the database. If you have properly defined SQL statements in your query.sql file, you can use query number 14 (List Jobs stored for a given Volume name). If you have bacula installed from RPM, there is an example query.sql file stored in /usr/share/doc/bacula-director-5.2.13/sample-query.sql (path may be diffrent depending on version and system etc.). Just copy this file to /etc/bacula/query.sql and restart bacula-dir. Then run bconsole and type query. You can of course define your own SQL statements for querying your catalog.
Juraj Sakala On 10/27/2013 03:37 PM, Claudia Koch wrote: > Hallo, > > I need help! > > I have a Volume-Name and I need the Job-ID's from the Jobs, they have > write to the Volume. > > How can is do this? > > Claudia Koch > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users