On Friday 08 September 2006 16:36, Kern Sibbald wrote: > On Friday 08 September 2006 14:47, Ondrej PLANKA wrote: > > Hi list, > > > > I have Bacula ver. 1.38.11 (28 June 2006). When I want use RunScript > > {...} in Job resource, I get this messages when reload configuration >>> > > Do you have some TIP? > > This is a 1.39.x and does not exist in 1.38.11.
That's what also my memory said, but I tried using this option also, after I ignored my memory since I saw this option documented in 1.38.11's manual: http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000143000000000000000 Has the manual of current version been messed up by development manual a little? It's a little confusing when next version's documentation gets into current version's docs, isn't it? Silver > > Thanks Andrew > > > > bacula-dir: ERROR TERMINATION at parse_conf.c:853 > > Config error: Keyword "RunScript" not permitted in this resource. > > Perhaps you left the trailing brace off of the previous resource. > > : line 2758, col 12 of file /data/bacula/bin/bacula-dir.conf > > RunScript { > > > > > > My Job resource > > > > > Job > > { > > Name = "Backup client" > > Type = Backup > > Level = Full > > Client= BENE-fd > > FileSet = "BENE files" > > Storage = Storage-BENE > > Pool = BENE-Full-pool > > Messages = Standard > > Priority = 10 > > Schedule = "WeeklyCyclet-BENE" > > Write Bootstrap = "/mnt/sdb/bacula/backup/bene/bene.bsr" > > Reschedule On Error = yes > > Reschedule Interval = 30 minutes > > Reschedule Times = 3 > > RunScript { > > RunsOnClient = yes > > RunsWhen = Before > > AbortJobOnError = No > > Command = "/data/bacula/bin/scripts/client_make_mysql_backup.sh" > > } > > } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users