Re: [Bacula-users] RunScript character substitution fails
2008-04-10 13:52:12
> Hi,
>
> Bacula runs nice on suse 10.2.
>
> I'm facing just one problem with runscripts:
> I have something like this in the director configfile's job resource:
>
> RunScript {
> RunsWhen = After
> Command = "/etc/bacula/afterJob %v %n"
> }
>
> Works just fine except for the substitution of %v (volume name). Nothing
> gets passed to the script. All other characters are substituted correctly.
>
> Is this a bug, or could I be somehow responsible for it? My volumes are
> labelled correctly.
>
>
> Thanks for advice,
>
> Johann
Hello,
This information is available only on director side at the end of backup. You
have to use your runscript with RunsOnClient=No.
I will fix documentation.
Bye
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|