Bacula-users

Re: [Bacula-users] RunScript character substitution fails

2008-04-10 13:52:12
Subject: Re: [Bacula-users] RunScript character substitution fails
From: Eric Bollengier <eric AT eb.homelinux DOT org>
To: "bacula-users" <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 10 Apr 2008 19:21:57 +0200
> 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

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