Hi guys,

I like to run a script before doing the backup. The backup should only 
run if the script ran successfully.
How can I do that?

I tried the following things:

I used ClientRunBeforeJob to start the script. If I have "exit 1" for 
failures in my script the backup still finishes with an "OK".

Then I tried this as part of the job and separate:

/RunBeforeJob {/
/     Command = ......./
/     RunsOnClient = yes/
/     RunsAtJobLevels = All  # All, Full, Diff, Inc/
/     AbortJobOnError = No/
/ }


also tried 

RunScript {
                ......
}
/

But this seems to work only on windows machines. I get always error 
messages from the director like:
Config error: Keyword "RunScript" not permitted in this resource.
Perhaps you left the trailing brace off of the previous resource.


I'm running bacula on a debian machine with etch and bacula version 2.0.0-1.


Thank you for your help in advance.
Ingo



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to