Author: Dan
Date: 01-02-11 02:41
Sometimes you need to cancel a bunch of Bacula jobs. This might help get you started:
echo 'status dir' | bconsole | grep running | awk '{print "cancel jobid="$1}' | bconsole
This will cancel all running jobs.
You may which to change running to execution or waiting, depending on various job status.
This isn't very useful if you have a few jobs queued. But if you have 300 jobs queued, it can help.
--
Webmaster
|
|