Re: [Bacula-users] Restarting lots of Jobs after a problem. How?
2012-12-04 09:03:53
> 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
>
Thanx. Yes, that's roughly what I had in mind. I'll play around with
Reschedule first though.
Cheers,
Oliver
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
Message not available
- Re: [Bacula-users] Restarting lots of Jobs after a problem. How?,
Oliver Hoffmann <=
|
|
|