Hi Goncalo, I saw you had an error "RunBeforeNow, got 2905 Failed
RunScript" from the RunBeforeNow script. Did you manage to solve it out? I
know it has more than 4 years, but I just faced the same issue with the
latest Bareos Version.
Thanks in Advance!
Oi Goncalo, vi que você teve o
I configured this way on /etc/bareos/bareos-dir.d/job/server.conf
Job {
Name = "server-job"
Client = server-fd
Type = Backup
Level = Incremental
FileSet = "server-fs"
Schedule = "schedule"
Storage = server-sd
Messages = Standard
Pool = pool-server
Priority = 10
Write
Basically edit /etc/bareos/bareos-dir.d/job/server.conf and add
'ClientRunBeforeJob=/path/to/script/in/client' is this it?
segunda-feira, 9 de Março de 2020 às 12:26:02 UTC, Andrei Brezan escreveu:
>
> Just look at the documentation:
>
Just look at the
documentation: https://docs.bareos.org/Configuration/Director.html#job-resource
You can have Client Run Before Job and Client Run After Job.
--
Andrei
On Monday, 9 March 2020 13:19:31 UTC+1, Goncalo Sousa wrote:
>
> And how do I set to execute the script on the client?
>
> For
And how do I set to execute the script on the client?
For example: The script is located on the client and I want to execute it
from it?
sexta-feira, 6 de Março de 2020 às 16:32:46 UTC, Andrei Brezan escreveu:
>
> You need to put the script as the value:
>
> RunBeforeJob="/path/to/my/script"
>
You need to put the script as the value:
RunBeforeJob="/path/to/my/script"
On Friday, 6 March 2020 16:52:26 UTC+1, Goncalo Sousa wrote:
>
> So as far as I know I add the option: RunAfterJob=yes and RunBeforeJob=yes
> in bareos-dir.d/job but how do I call the script?
>
>
>
--
You received this