Bacula-users

Re: [Bacula-users] scheduler: don't queue a job if it's already running

2008-04-29 08:45:37
Subject: Re: [Bacula-users] scheduler: don't queue a job if it's already running
From: Petar Bogdanovic <petar AT smokva DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 29 Apr 2008 14:44:18 +0200
On Tue, Apr 29, 2008 at 01:11:18PM +0300, Silver Salonen wrote:
> On Tuesday 29 April 2008 13:00, Petar Bogdanovic wrote:
> > On Tue, Apr 29, 2008 at 12:48:11PM +0300, Silver Salonen wrote:
> > > On Tuesday 29 April 2008 12:41, Petar Bogdanovic wrote:
> > > > Hi,
> > > > 
> > > > we have to do a few backups over a slow and lossy line which makes those
> > > > backups pretty unpredictable. In our case, a job duration of more than
> > > > 24 hours is possible and if the link goes down for some reason a
> > > > successful job can even take days to complete (Reschedule On Error).
> > > > 
> > > > This scenario is not perfect, but it works and we have at least some
> > > > backups of the mentioned clients. Our scheduler however doesn't play
> > > > along and reschedules these jobs every day, which means that the queue
> > > > gets longer and longer after every `long' job.
> > > > 
> > > > I thought `Maximum Concurrent Jobs' is what I want, but unfortunately
> > > > (for me), MCJ=1 just prevents bacula from running two jobs with the same
> > > > name at the same time, it doesn't prevent it from queueing the job.
> > > > 
> > > > Is there something I missed?
> > > > 
> > > > 
> > > > Thanks,
> > > > 
> > > > Petar
> > > 
> > > Hello.
> > > 
> > > The list has just had a pretty good discussion about it and I showed one 
> > > possible solution too. See thread "duplicate full backups" started by 
> > > Seth 
> > > Miller on 7th of April
> > 
> > `Max Wait Time' is exactly what I need
> 
> Well.. I guess you didn't read the entire thread then.. This approach doesn't 
> actually work very well..
> 
> I actually meant the "Run Before Job"-idea in the thread

Aww, you're right. I didn't read any further since the docs-description
of MWT made pretty much sense.

Thanks anyway for pointing it out.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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>