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 = Client'
>> 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{} st
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 i
Hello, Bill,
Just FIY, I'm using Bacula 9.0.3.
Regards,
- Original Message -
> From: "Bill Arlofski"
> To: bacula-users@lists.sourceforge.net
> Sent: Monday, March 12, 2018 7:30:50 PM
> Subject: Re: [Bacula-users] Run Job Script not Replacing %f Character
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* 0
Just in time: nevermind. It only works with RunAfterJob, not ClientRunAfterJob.
Regards,
> From: "Heitor Faria"
> To: "Bacula-users@lists.sourceforge.net"
> Sent: Monday, March 12, 2018 7:18:59 PM
> Subject: [Bacula-users] Run Job Script not Replacing %f Chara
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,
--
===