On 5/9/24 10:02, Marco Gaiarin wrote:
I've setup some backup jobs for some (mostly windows) client computer; i
mean 'client' as 'not always on'.
...
2) There's some way i can get the 'jobs in volume X'? I can query jobs for
volume, but i've not found a way to query volumes for jobs
I use the following in my query.sql file:
# 14
:List Jobs stored for a given Volume name
*Enter Volume name:
SELECT DISTINCT Job.JobId as JobId,Job.Name as Name,Job.StartTime as StartTime,
Job.Type as Type,Job.Level as Level,Job.JobFiles as Files,
Job.JobBytes as Bytes,Job.JobStatus as Status
FROM Media,JobMedia,Job
WHERE Media.VolumeName='%1'
AND Media.MediaId=JobMedia.MediaId
AND JobMedia.JobId=Job.JobId
ORDER by Job.StartTime;
With this, the query command in bconsole will have:
14: List Jobs stored for a given Volume name
as one of the query command options.
3) In this setup failed jobs make only noise; there's some way to delete/purge
failed jobs?
Or there's some way i can setup the 'RunScript {}' job property to delete
failed jobs?
Thanks.
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users