On Dec 3, 2012, at 9:03 AM, Oliver Hoffmann wrote: > Hi all, > > recently I had the following problem. After a reboot of the bacula > server due to malfunction of the attached RAID all jobs very not > running again. OK, that is what I expected but not what I wanted as > starting 50 or more jobs by hand with bconsole is a bit tiresome. Thus > I simply waited for the next backup run but that means no backups for > that night. > > Is there a way to accomplish a mass restart of > jobs? My first thought was scripting the bconsole but maybe there is a > build-in solution or something easier for that?
Nothing built in. But I would consider shell scripting it. Here's the start: echo 'run job=ABC yes' | console That will run job ABC. Your exercise: get a list of those jobs. consider. parsing the output of echo run | bconsole But that may be more jobs than you want to run -- Dan Langille - http://langille.org ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users