Thomas Mueller wrote:
> Am Fri, 11 Dec 2009 10:38:08 +0100 schrieb Sascha Retzki:
>
>> Sascha Retzki wrote:
>>> Good morning,
>>>
>>>
>> ClientRunBeforeJob = "/usr/local/sbin/db_sql_backup.sh"
>>
>> this works. Apperently the RunScript {} thing runs on the director?
>
> you need to set "RunsOn
Am Fri, 11 Dec 2009 10:38:08 +0100 schrieb Sascha Retzki:
> Sascha Retzki wrote:
>> Good morning,
>>
>>
> ClientRunBeforeJob = "/usr/local/sbin/db_sql_backup.sh"
>
> this works. Apperently the RunScript {} thing runs on the director?
you need to set "RunsOnClient = yes" for RunScript resource.
Sascha Retzki wrote:
> Good morning,
>
ClientRunBeforeJob = "/usr/local/sbin/db_sql_backup.sh"
this works. Apperently the RunScript {} thing runs on the director?
> I've got the following RunScript-directive in my Job definition. What I
> want to do is run a script before the job is started,
Good morning,
I've got the following RunScript-directive in my Job definition. What I
want to do is run a script before the job is started, on the client
obviously, that dumps the databases into a directory backed up by bacula
later on.
RunScript {
RunsWhen = Before