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 =
>> 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{}
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
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
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*
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"
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,
--