>>>>> On Mon, 13 Feb 2006 15:06:15 +0100, Enrique de la Torre Gordaliza <[EMAIL 
>>>>> PROTECTED]> said:
> 
> I'm creating a shutdown script for my UPS software on the bacula server. 
> First 
> of all I stop director, storage and file daemons. Then I stop mysql daemon. 
> But, what could happen if a job is running when I make director stop?
>                                                                       Should 

If you just kill the daemons, then I think the volume being written could be
left in an inconsistent state relative to the catalog, so it might not work
when you run another job.


> I issue a cancel command to the console before? How can I cancel all the 
> jobs, running and scheduled? 

I don't think there is any built-in way to cancel all running jobs, except by
interactive use of the console (the cancel command requires you to specify the
job/jobid).  You don't need to cancel scheduled jobs, because stopping the
Director will stop them.

__Martin


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to