The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Canceling Bacula jobs
Author: Dan 
Date:   11-01-13 16:12

Here's another way I cancel Bacula jobs:

I copy the output of st dir from within bconsole. I paste that into a file, delete-bacula-jobs, removing the jobs I don't want to cancel. Then I issue this command:

cat delete-bacula-jobs | awk '{print "cancel yes jobid="$1}' | bconsole

--
Webmaster

Post Edited (08-04-13 12:40)

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org