On Friday 25 January 2008 13.48:06 Alexander Kolesnik wrote:
> Hi Kern,
>
> > The "wrapper" script is machine dependent, but if you look at the manual
> > as I suggested, you will see an example of doing it inline on the
> > RunxxxScript command -- you simply insert a call to the shell, BUT you
> > need appropriate escaping of the shell arguments.
>
> I did look into examples in the manual but didn't find anything that
> could help me.

Hmm. I thought there was an example under Run Scripts, but I was wrong. The 
examples are in the FileSet section and shown for the Alert Command in the 
Storage daemon and tape testing documentation.

>
> Anyway, the problem is solved now. The working string is:
>   Client Run Before Job = "/bin/sh -c 'fdisk -l > /etc/fdisk.lst'"

Great.

Kern


>
> Thanks for help!



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to