Jobdefs and job

19 views
Skip to first unread message

Frank Cherry

unread,
Jan 26, 2021, 1:51:21 AM1/26/21
to bareos-users

Hi there,

Why did bareos want's the volume "... Director wanted Volume "Incremental-0027". "
from the Incremental Pool and not from the " CRInc- " Pool like configured in the job?
I thought, parameters in the job overwrites parameters in jobdefs?

Here are my configs:

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = bareos-fd
  FileSet = "SelfTest"                     # selftest fileset                            (#13)
  Schedule = "WeeklyCycle"               
  Storage = File
  Messages = Standard
  Pool = Incremental
  Priority = 10
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
  Full Backup Pool = Full                  # write Full Backups into "Full" Pool         (#05)
  Differential Backup Pool = Differential  # write Diff Backups into "Differential" Pool (#08)
  Incremental Backup Pool = Incremental    # write Incr Backups into "Incremental" Pool  (#11)
}

Job {
  Name = "BackupStorage1Data"
  JobDefs = "DefaultJob"
  Client = "Storage1"
  Pool = CR-Inc-Pool
  Type = Backup
  Storage = Tape
  Spool Data = yes
  Schedule = "CR-WeeklyCycle"
  FileSet = "Storage1Data"
 
    Run Script {
    Console = ".bvfs_update jobid=%i"
    RunsWhen = After
    RunsOnClient = No
  }
  RunBeforeJob = "/etc/bareos/load_tape.sh"
  RunAfterJob  = "/etc/bareos/eject_tape.sh"
}

Frank Cherry

unread,
Jan 26, 2021, 2:03:13 AM1/26/21
to bareos-users
OK, solution found myself. It comes from the JobDefs, the last 3 lines:

" Incremental Backup Pool Type:

The Incremental Backup Pool specifies a Pool to be used for Incremental backups. It will override any Pool (Dir->Job) specification during an Incremental backup.

"
The last night was too long ....
Reply all
Reply to author
Forward
0 new messages