Bacula-users

[Bacula-users] overriding MaxWaitTime from schedule

2008-07-21 09:21:34
Subject: [Bacula-users] overriding MaxWaitTime from schedule
From: Tilman Schmidt <t.schmidt AT phoenixsoftware DOT de>
To: Bacula-Users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 21 Jul 2008 15:21:24 +0200
I would like to use the MaxWaitTime directive to prevent
jobs from blocking subsequent jobs when the operator has
forgotten to change the tape. The wait time should extend
to the morning of the following workday, so it has to be
longer for the weekend job which is started friday evening.
I tried:

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = vm-backup-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = LTO1
  SpoolData = yes
  Messages = Standard
  Pool = Default
  Priority = 10
  MaxWaitTime = 12h
}

Schedule {
  Name = "WeeklyCycle"
  Run = Level=Full Pool=Monthly MaxWaitTime=60h 1st fri at 23:05
  Run = Level=Full Pool=Weekly MaxWaitTime=60h 2nd-5th fri at 23:05
  Run = Level=Incremental Pool=Daily mon-thu at 23:05
}

but the director is not happy with that, telling me once per
actual job I base on that JobDefs:

21-Jul 15:14 vm-backup-dir: ERROR in run_conf.c:381 Config error: Job type 
field: MaxWaitTime in run record not found
            : line 188, col 43 of file /etc/bacula/bacula-dir.conf
  Run = Level=Full Pool=Monthly MaxWaitTime=60h 1st fri at 23:05

21-Jul 15:14 vm-backup-dir: ERROR in run_conf.c:388 Config error: Unexpected 
token: 110:=
            : line 188, col 44 of file /etc/bacula/bacula-dir.conf
  Run = Level=Full Pool=Monthly MaxWaitTime=60h 1st fri at 23:05

21-Jul 15:14 vm-backup-dir: ERROR in run_conf.c:381 Config error: Job type 
field: 60h in run record not found
            : line 188, col 47 of file /etc/bacula/bacula-dir.conf
  Run = Level=Full Pool=Monthly MaxWaitTime=60h 1st fri at 23:05

and the same for the Weekly case.

What am I doing wrong?

Thanks
TS

--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>
  • [Bacula-users] overriding MaxWaitTime from schedule, Tilman Schmidt <=