[Bacula-users] Client side scripts

2013-12-12 Thread Paul Fontenot
Can Bacula run a client side script? For instance, I have bacula server A backing up bacula client B, can I specify a script to be run before the job on client B? I've tried this by specifying the script to run in the job block and received an error indicating the script didn't exist.

Re: [Bacula-users] Client side scripts

2013-12-12 Thread Juraj Sakala
Of course it can. But the script have to be on the client. In the Job resource you specify script path, that is on the client side. Example from job resource RunScript { RunsWhen = Before FailJobOnError = Yes RunsOnClient = Yes Command = /usr/lib/bacula/script.sh } The path

Re: [Bacula-users] Client side scripts

2013-12-12 Thread Paul Fontenot
Thank you very much, I was calling the script incorrectly -Original Message- From: Juraj Sakala [mailto:juraj.sak...@gmail.com] Sent: Thursday, December 12, 2013 7:50 AM To: Paul Fontenot; Bacula Users Subject: Re: [Bacula-users] Client side scripts Of course it can. But the script have