Bacula-users

Re: [Bacula-users] Allow Duplicate Jobs not working?

2009-11-26 03:28:57
Subject: Re: [Bacula-users] Allow Duplicate Jobs not working?
From: Silver Salonen <silver AT ultrasoft DOT ee>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 26 Nov 2009 10:09:26 +0200
On Wednesday 25 November 2009 03:22:41 Dan Langille wrote:
> I'm running Bacula 3.0.3  I have this Job:
> 
> Job {
>    Name            = "nyi maildir"
>    JobDefs         = "DefaultJobRemote"
>    Schedule        = "Maildir"
>    Client          = "nyi-fd"
>    FileSet         = "nyi mymaildir"
>    Write Bootstrap = "/home/bacula/working/nyi-fd-maildir.bsr"
> }
> 
> JobDefs {
>    Name        = "DefaultJobRemote"
>    Type        = Backup
>    Level       = Incremental
>    Client      = polo-fd
>    FileSet     = "Full Set"
>    Schedule    = "WeeklyCycle"
>    Storage     = DLT
>    Messages    = Standard
>    Pool        = Default
>    Priority    = 20
>    Spool Data  = Yes
> 
>    Allow Duplicate Jobs = no
>    Cancel Queued Duplicates = yes
> 
>    RunAfterJob  = "/home/dan/bin/dlt-stats"
> }
> 
> Yet, I see duplicates queued.  Yes, the daemons have been restarted
> since the latest change to bacula-dir.conf.
> 
> Running Jobs:
> Console connected at 25-Nov-09 00:23
>   JobId Level   Name                       Status
> ======================================================================
>   31130 Full    BackupCatalog.2009-11-24_08.15.00_12 is running
>   31131 Differe  nyi_maildir.2009-11-24_12.01.00_19 is waiting execution
>   31132 Full    nyi_maildir_tarball.2009-11-24_12.01.00_20 is waiting
> execution
>   31133 Increme  nyi_maildir.2009-11-24_16.00.00_22 is waiting execution
>   31134 Increme  nyi_maildir.2009-11-24_20.00.00_23 is waiting execution
>   31135 Increme  nyi_maildir.2009-11-25_00.00.00_24 is waiting execution
> ====
> 
> 
> Why are the last three jobs queued up?  I would expect at most one.

Hi.

Previously we've discovered that you should use "Allow Higher Duplicates = no" 
for that.

See my e-mail "Re: [Bacula-users] How to prevent to schedule a job if the same 
job is still running" (sent on 5th of Oct) for my comments on using that.

-- 
Silver

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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>