Bacula-users

[Bacula-users] Schedule not working as expected

2010-01-25 02:53:33
Subject: [Bacula-users] Schedule not working as expected
From: Glyn <glyn AT cirrus.co DOT za>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 25 Jan 2010 09:50:51 +0200
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

-- 
Kind regards

Glyn




------------------------------------------------------------------------------
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>