Bacula-users

Re: [Bacula-users] Schedule not working as expected

2010-01-25 08:07:39
Subject: Re: [Bacula-users] Schedule not working as expected
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 25 Jan 2010 08:04:31 -0500
On 01/25/10 02:50, Glyn wrote:
> I have 2 external USB drives which I swap around each Monday, some jobs 
> run during the day for the laptops and the servers run at night. I have 
> a schedule which contains even weeks and  of odd weeks, like this:
> Schedule {
>    Name = "WeeklyCycle"
>    Run = Level = Incremental IncrementalPool = Incr-Pool-B 1st 3rd 5th 
> mon-fri at 19:05
>    Run = Level = Full FullPool = Full-Pool-B  1st 3rd 5th sat at 02:05
>    Run = Level = Incremental IncrementalPool = Incr-Pool-A 2nd 4th 
> mon-fri at 19:05
>    Run = Level = Full FullPool = Full-Pool-A 2nd 4th Sat at 02:05
> }
> 
> Schedule {
>    Name = "DayTime"
>    Run = Level = Incremental IncrementalPool = Incr-Pool-B 1st, 3rd, 5th 
> tue-fri at 09:05
>    Run = Level = Full FullPool = Full-Pool-B 1st, 3rd, 5th mon at 09:05
>    Run = Level = Incremental IncrementalPool = Incr-Pool-A 2nd, 4th 
> tue-fri at 09:05
>    Run = Level = Full FullPool = Full-Pool-A 2nd, 4th mon at 09:05
> }
> 
> # This schedule does the catalog. It starts after the WeeklyCycle
> Schedule {
>    Name = "WeeklyCycleAfterBackup"
>    Run = Level = Full FullPool = Full-Pool-B 1st, 3rd, 5th mon-sat at 19:10
>    Run = Level = Full FullPool = Full-Pool-A 2nd, 4th mon-sat at 19:10
> }
> 
> Schedule {
>    Name = "DayTimeAfterBackup"
>    Run = Level = Full FullPool = Full-Pool-B 1st, 3rd, 5th mon-sat at 09:10
>    Run = Level = Full FullPool = Full-Pool-A 2nd, 4th mon-sat at 09:10
> }
> 
> However, the wom does not seem to get followed. If I do in the console, 
> a "status dir" I get this:
> Scheduled Jobs:
> Level          Type     Pri  Scheduled          Name               Volume
> ===================================================================================
> Incremental    Backup    10  25-Jan-10 19:05    SugarA             *unknown*
> Incremental    Backup    10  25-Jan-10 19:05    TyphoonB           *unknown*
> Incremental    Backup    10  25-Jan-10 19:05    CumulusB           *unknown*
> Incremental    Backup    10  25-Jan-10 19:05    SugarB             *unknown*
> Incremental    Backup    10  25-Jan-10 19:05    TyphoonA           *unknown*
> Incremental    Backup    10  25-Jan-10 19:05    CumulusA           *unknown*
> Full           Backup    11  25-Jan-10 19:10    BackupCatalogA     *unknown*
> Full           Backup    11  25-Jan-10 19:10    BackupCatalogB     
> hddb-full-0040
> Incremental    Backup    10  26-Jan-10 09:05    GlynA              *unknown*
> Incremental    Backup    10  26-Jan-10 09:05    ColynA             *unknown*
> Incremental    Backup    10  26-Jan-10 09:05    GlynB              *unknown*
> Incremental    Backup    10  26-Jan-10 09:05    ColynB             *unknown*
> Full           Backup    11  26-Jan-10 09:10    DayTimeBackupCatalogA 
> *unknown*
> Full           Backup    11  26-Jan-10 09:10    DayTimeBackupCatalogB 
> hddb-full-0040
> ====
> 
> For some reason both odd and even week schedules are set to run every week.
> 
> I am sure I have something wrong somewhere, but don't know where.
> 
> Here is a single job resource for completeness:
> Job {
>    Name = "TyphoonB"
>    JobDefs = "TyphoonJob"
>    Schedule = "WeeklyCycle"
>    Pool = Default
>    Full Backup Pool = Full-Pool-B
>    Incremental Backup Pool = Incr-Pool-B
>    Write Bootstrap = "/var/lib/bacula/bin/Typhoon.bsr"
> }
> 
> 
> I would appreciate any help here, please
> 

As far as I can see, this is doing exactly what you're telling it to do.
 You have TyphoonB set to run every weekday at 19:05, to alternate pools
on alternate weeks, and there it is, scheduled to run at 19:05.  What
were you expecting to be different?



-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
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>