Re: [bareos-users] Way to prevent from cumulating jobs

2020-06-09 Thread Andrei Brezan
On 09/06/2020 11:24, Spadajspadaj wrote: Hi there. I'm wondering whether there is a reasonable way to prevent bareos from scheduling jobs from same client in quick succession. Here's what I mean. We have a bareos setup with a single tape drive. The jobs are scheduled daily with

[bareos-users] Re: DIR fails to cancel job on SD

2020-05-19 Thread Andrei Brezan
; device="AWS_S3_1-01" (AWS S3 Storage) spooling=0 despooling=0 despool_wait=0 Files=1 Bytes=1,334 AveBytes/sec=0 LastBytes/sec=0 FDReadSeqNo=29 in_msg=20 out_msg=6 fd=367 -- Andrei On Tuesday, 19 May 2020 10:23:11 UTC+2, Andrei Brezan wrote: > > Hi, > > Running on 1

[bareos-users] DIR fails to cancel job on SD

2020-05-19 Thread Andrei Brezan
Hi, Running on 18.2 I have a failing backup that eventually hogs all the slots on the SD. What I can see in the job log is: 19-May 06:47 bareos-sd JobId 3693: Releasing device "AWS_S3_1-01" (AWS S3 Storage). 19-May 06:47 bareos-dir-alxp JobId 3693: Fatal error: Director's comm line to SD

[bareos-users] Re: How to execute a Script after and before job?

2020-03-09 Thread Andrei Brezan
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"

[bareos-users] Re: How to execute a Script after and before job?

2020-03-06 Thread Andrei Brezan
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

Re: [bareos-users] How to run a script before and after the job?

2020-02-20 Thread Andrei Brezan
that you have there. -- Andrei On Thursday, 20 February 2020 16:19:11 UTC+1, Goncalo Sousa wrote: > > Thanks. But in which file? > > quinta-feira, 20 de Fevereiro de 2020 às 14:37:41 UTC, Andrei Brezan > escreveu: >> >> Hi Goncalo, >> >> If you use &

Re: [bareos-users] How to run a script before and after the job?

2020-02-20 Thread Andrei Brezan
Hi Goncalo, If you use https://docs.bareos.org/Configuration/Director.html#config-Dir_Job_RunAfterJob and specify "Runs On Client = Yes" then the script needs to be present on the client you are backing up. If "Runs On Client = No" then the script needs to be present on the director to run.

[bareos-users] Re: mysql plugin errors

2020-01-29 Thread Andrei Brezan
One option would be to run bareos-fd with the debug flags "-d nn -dt -f". I've found that debug level 100-150 suffices most of the times. -- Andrei On Tuesday, 28 January 2020 17:03:55 UTC+1, Dan Broscoi wrote: > > HI, > > I'm starting to get used with the mysql dump plugin and I have >

[bareos-users] Re: Percona XtraBackup mysql plugin

2020-01-22 Thread Andrei Brezan
The percona plugin was moved to base recently (https://github.com/bareos/bareos-contrib/commit/2405a3b399c7eea7842389a1559786ccf5fbee86) and you can find it in https://github.com/bareos/bareos/tree/master/core/src/plugins/filed. Most likely the documentation was not updated. -- Andrei On

[bareos-users] Concurrent jobs mysql (xtrabackup) to S3 (droplet) SD backend not working as expected

2019-11-14 Thread Andrei Brezan
Hi, It seems I'm not able to run concurrent jobs, basically this happens when I try to run two jobs at the same time: Running Jobs: Console connected at 14-Nov-19 10:27 JobId Level Name Status == 393