Hi, On 3/28/2007 11:50 AM, Vadim Vatlin wrote: > Hi.. > > I'am newbie in bacula and I have a problem. > > > Job { > Name = "Sat" > Client = sat-fd > FileSet = "Sat Set" > Pool = Sat > RunScript { > RunsWhen = Before > AbortJobOnError = no > RunsOnClient = yes > Command = "echo test > /tmp/test" > } > JobDefs = "DefaultJob" > Write Bootstrap = "/s0/backup/bacula/sat/sat.bsr" > } > > I ran > shell> bacula-dir -t bacula-dir.conf > > and got the error: > > 28-Mar 13:40 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 63, col 12 of file bacula-dir.conf > RunScript { > > But when I commented out RunScript from { till } everything was ok. > > Why ?
Probably because the resource was implemented only after 1.38.11. You could look that up in the ReleaseNotes file, or simply use 'Client Run Before Job' in your setup. Arno -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- 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