Bacula-users

Re: [Bacula-users] Simplified pools

2010-04-06 18:07:16
Subject: Re: [Bacula-users] Simplified pools
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 06 Apr 2010 18:05:17 -0400
On 04/06/10 17:28, Kevin Keane wrote:
>> From: Phil Stracchino [mailto:alaric AT metrocast DOT net]
>> 
>> Actually, this is a problem which has largely been fixed in
>> Bacula-3 and later, by changing the way overrides work.
> 
> Really? I see this problem in bacula 3.0.3 all the time. Maybe I need
> to change something in my configuration to take advantage of this new
> feature. How is it supposed to work?

The old Schedule-based overrides are still *supported* in 3.0.3, for
backward compatibility, but are deprecated - precisely because of the
problem you note - in favor of the following example syntax:


Schedule {
  Name = "Monthly Rotation"
  Run = Full 1st mon at 03:30
  Run = Differential 2nd-5th mon at 03:30
  Run = Incremental tue-sun at 03:30
}

JobDefs {
  Name = Backup
  Type = Backup
  Level = Full
  Pool = Full-Tape
  Full Backup Pool = Full-Tape
  Differential Backup Pool = Diff-Disk
  Incremental Backup Pool = Incr-Disk
  Schedule = "Monthly Rotation"
  [...]
}


The change was made because, basically, it proved extremely difficult to
avoid the pool mismatch problem using the schedule-based override code.
 Putting pool overrides in the job definition allows the job to select
its own pool, which means that in case of level promotion, it
automatically just Does The Right Thing.


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users