Hi,

I'm in the process of configuring Bacula 2.0.2 to backup a server on an
Powervault 124T LTO2 autochanger.

I'm using two differents pools (let's say PoolOdd and PoolEven), PoolOdd
is scheduled on odd week numbers and PoolEven is scheduled on even weeks
numbers, like this:

Job {
  Name = "bazooka"
  Client = bazooka-fd
  JobDefs = "DefaultJob"
  Write Bootstrap = "/var/lib/bacula/bazooka.bsr"
  FileSet="bazooka"
  Storage = Powervault124T
  Schedule = "WeekABCycle"
  SpoolData = yes
}

Schedule {
  Name = "WeekABCycle"
  Run = Level=Full Pool=PoolOdd w01 w05 w09 w13 w17 w21 w25 w29 w33 w37 w41 w45 
w49 mon at 19:45
  Run = Level=Differential Pool=PoolOdd w03 w07 w11 w15 w19 w23 w27 w31 w35 w39 
w43 w47 w51 mon at 19:45
  Run = Level=Incremental Pool=PoolOdd w01 w03 w05 w07 w09 w11 w13 w15 w17 w19 
w21 w23 w25 w27 w29 w31 w33 w35 w37 w39 w41 w43 w45 w47 w49 w51 tue-fri at 19:45

  Run = Level=Full Pool=PoolEven w02 w06 w10 w14 w18 w22 w26 w30 w34 w38 w42 
w46 w50 mon at 19:45
  Run = Level=Differential Pool=PoolEven w04 w08 w12 w16 w20 w24 w28 w32 w36 
w40 w44 w48 w52 mon at 19:45
  Run = Level=Incremental Pool=PoolEven  w02 w04 w06 w08 w10 w12 w14 w16 w18 
w20 w22 w24 w26 w28 w30 w32 w34 w36 w38 w40 w42 w44 w46 w48 w50 w52 tue-fri at 
19:45
}

Pool {
  Name = PoolOdd
  Pool Type = Backup
  Recycle = yes
  Auto Prune = yes
  Volume Retention = 6 weeks
  Cleaning Prefix = "000200"
}

Pool {
  Name = PoolEven
  Pool Type = Backup
  Recycle = yes
  Auto Prune = yes
  Volume Retention = 6 weeks
  Cleaning Prefix = "000200"
}

So One Job is shared among two differents pools through the use of the
Job overwritten parameters in the Scheduler.

Everything seems to work fine, except that the bootstrap file is shared
between both pools.

As I'm sure to understand completely the use of Bootstrap file, the
question is: Should I care ?

And if yes, how could I use two different write bootstrap file depending
on the Pool used ?

I read in the manual the trick to define the Write Bootstrap in the
JobDef resource, but unfortunately there is no script parameters
containing the pool name...

Thanks for any help in advance!
-- 
Brice Figureau
Days of Wonder


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to