Re: [Bacula-users] Multiple commands in RunScript possible?

2007-11-14 Thread Vladimirs Vecgailis
On Wed, 14 Nov 2007 08:22:36 -0600 "Michael Short" <[EMAIL PROTECTED]> wrote: > I would recommend using a bash script to achieve these, the reason > your ';'s aren't working is that ';' is an interpreted command, > something bacula does not understand. > > Sincerely, > -Michael > Thanks to all

Re: [Bacula-users] Multiple commands in RunScript possible?

2007-11-14 Thread Rich
resending to list, too -- On 2007.11.14. 16:13, Vladimirs Vecgailis wrote: > Hi all! > > Following question - is it possible to run multiple commands with RunScript > on client side? > > I.e. > > > RunScript { > RunsWhen = Before >

Re: [Bacula-users] Multiple commands in RunScript possible?

2007-11-14 Thread Michael Short
I would recommend using a bash script to achieve these, the reason your ';'s aren't working is that ';' is an interpreted command, something bacula does not understand. Sincerely, -Michael On 11/14/07, Vladimirs Vecgailis <[EMAIL PROTECTED]> wrote: > Hi all! > > Following question - is it possibl

[Bacula-users] Multiple commands in RunScript possible?

2007-11-14 Thread Vladimirs Vecgailis
Hi all! Following question - is it possible to run multiple commands with RunScript on client side? I.e. RunScript { RunsWhen = Before FailJobOnError = Yes Command = "/etc/init.d/someservice stop; lvcreate -s -n myservicebackup /dev/mylv/s