Bacula-users

Re: [Bacula-users] RunScript character substitution fails

2008-04-11 03:22:18
Subject: Re: [Bacula-users] RunScript character substitution fails
From: Johann Schlamp <johann AT atsec DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 11 Apr 2008 09:22:02 +0200
Ah ok, I understand.
Thank you, it's working now.  :)


Johann



Eric Bollengier schrieb:
>> 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
> 


-------------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>