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 ?
--
Vatlin V.G
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users