Re: [Bacula-users] Run Job Script not Replacing %f Character Substitution

2018-03-13 Thread Wanderlei Huttel
Hello Heitor I guess the option "%f" only work in the director side, It must be only on RunBeforeJob or RunAfterJob. Before submitting the specified command to the operating system, Bacula performs character substitution of the following characters: %% = % %b = Job Bytes %c =

Re: [Bacula-users] Run Job Script not Replacing %f Character Substitution

2018-03-12 Thread Heitor Faria
>> Hello, Bill, >> >> Just FIY, I'm using Bacula 9.0.3. >> >> Regards, > > Hi Heitor, > > Do you think this could be considered a bug? I mean, what if you actually > wanted to run this script on the client and pass the Fileset to get some task > done? > > Can you try it in a RunScript{}

Re: [Bacula-users] Run Job Script not Replacing %f Character Substitution

2018-03-12 Thread Bill Arlofski
On 03/12/2018 04:46 PM, Heitor Faria wrote: > Hello, Bill, > > Just FIY, I'm using Bacula 9.0.3. > > Regards, Hi Heitor, Do you think this could be considered a bug? I mean, what if you actually wanted to run this script on the client and pass the Fileset to get some task done? Can you try

Re: [Bacula-users] Run Job Script not Replacing %f Character Substitution

2018-03-12 Thread Heitor Faria
Hello, Bill, Just FIY, I'm using Bacula 9.0.3. Regards, - Original Message - > From: "Bill Arlofski" <waa-bac...@revpol.com> > To: bacula-users@lists.sourceforge.net > Sent: Monday, March 12, 2018 7:30:50 PM > Subject: Re: [Bacula-users] Run Job Scrip

Re: [Bacula-users] Run Job Script not Replacing %f Character Substitution

2018-03-12 Thread Bill Arlofski
On 03/12/2018 04:18 PM, Heitor Faria wrote: > Dear Bacula Users, > > For several years I've noticed that %f is not working for Run Job script. > E.g.: > > - ClientRunAfterJob = "/etc/bacula/scripts/monit.sh %i %c %n %f %s %b %e" > > Output: > > - 136 hfaria-asus-i5-fd BackupClient1 %f *none*

Re: [Bacula-users] Run Job Script not Replacing %f Character Substitution

2018-03-12 Thread Heitor Faria
8:59 PM > Subject: [Bacula-users] Run Job Script not Replacing %f Character Substitution > Dear Bacula Users, > For several years I've noticed that %f is not working for Run Job script. > E.g.: > - ClientRunAfterJob = "/etc/bacula/scripts/monit.sh %i %c %n %f %s %b %e"

[Bacula-users] Run Job Script not Replacing %f Character Substitution

2018-03-12 Thread Heitor Faria
Dear Bacula Users, For several years I've noticed that %f is not working for Run Job script. E.g.: - ClientRunAfterJob = "/etc/bacula/scripts/monit.sh %i %c %n %f %s %b %e" Output: - 136 hfaria-asus-i5-fd BackupClient1 %f *none* 0 OK Am I doing something wrong? Regards, --