Re: [Bacula-users] RunScript fails

2009-12-11 Thread Sascha Retzki
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

Re: [Bacula-users] RunScript fails

2009-12-11 Thread Thomas Mueller
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.

Re: [Bacula-users] RunScript fails

2009-12-11 Thread 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? > 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,

[Bacula-users] RunScript fails

2009-12-11 Thread Sascha Retzki
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