Bacula-users

Re: [Bacula-users] Full and Incremental backup to different location

2010-04-22 12:09:30
Subject: Re: [Bacula-users] Full and Incremental backup to different location
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 22 Apr 2010 12:06:12 -0400
On 04/22/10 02:14, Sorix wrote:
> 
> I've done some modifications.
> 
> Schedule &#123;
> &nbsp; Name = "Default"
> &nbsp; Run = Level=Full Pool=Tape 1st sun at 2&#58;05
> &nbsp; Run = Level=Incremental Pool=File mon-fri at 2&#58;05
> &#125;
> 
> 
> JobDefs &#123;
> &nbsp; Name = "Windows 2008"
> &nbsp; Schedule = "Default"
> &nbsp; Messages = Standard
> &nbsp; Priority = 10
> &nbsp; Write Bootstrap = "/var/bacula/%c.bsr"
> &nbsp; Type = Backup
> &nbsp; FileSet= "Windows 2008"
> &nbsp; Pool = File
> &#125;
> 
> 
> Job &#123;
> &nbsp; &nbsp; Name = "mail4srv"
> &nbsp; &nbsp; JobDefs = "Windows 2008"
> &nbsp; &nbsp; Client = "mail4srv-fd"
> &nbsp; &nbsp; Enabled = yes
> &#125;


That's looking much better.  One suggestion, though - Move your Pool
overrides from the Schedule to the Job or JobDefs, like this:

Schedule {
  Name = "Default"
  Run = Level=Full 1st sun at 2:05
  Run = Level=Incremental mon-fri at 2:05
}

JobDefs {
  [...]
  Pool = File
  Incremental Pool = File
  Differential Pool = File
  Full Pool = Tape
}

Pool overrides in the Schedule resource have been deprecated (but, for
backward compatibility, not removed) because they do not work properly
when a Job is promoted to a higher level because of a missing or failed
previous job.  Overrides were re-implemented in the Job because it is
architecturally infeasible to fix the problem within the Schedule-based
implementation.  Specifying per-level Pools in the Job or JobDefs is
both cleaner and more reliable, and also allows Jobs using the same
Schedule to use different override Pools.

(In this case, the Incremental Pool and Differential Pool directives are
redundant and should be unnecessary.  But it won't hurt anything to have
them there, and the example is useful.)



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

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users