Re: [Bacula-users] Baculum 9.6.5.1

2020-10-02 Thread Elias Pereira
Enter a period to cancel a command. *sqlquery SELECT * FROM Path WHERE Path=''; Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" root@bacula:~# Enter a period to cancel a command. *sqlquery SELECT * FROM Path WHERE PathId=92295; Automatically selected Catalog: MyCatalog Using Ca

[Bacula-users] %t incorrectly expanding as "System or Console"

2020-10-02 Thread djosip+news
Hello! I just used %t with ClientRunBeforeJob with a job of type "Backup" and level "Full" and noticed that %t expanded as "System or Console". According to the documentation, %t should expand as a job type which could be Backup, Restore or Admin. Related line in the Job configuration looks lik

Re: [Bacula-users] Multiple messages for every copied job

2020-10-02 Thread Radosław Korzeniewski
Hello, czw., 1 paź 2020 o 16:45 napisał(a): > > Yes, it is true to some extent. > > Hm, I believe it happens in all cases. > In what case it wouldn't be true? > AFAIK, Bacula can generate messages which won't be combined in the mail buffer file used to send emails. There few differences which

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-02 Thread Martin Simmons
This output makes no sense to me. Firstly, you need to put the SELECT on a separate line. It should look like this: Enter a period to cancel a command. *sqlquery Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" Entering SQL query mode. Terminate each query with a semicolon. Te

Re: [Bacula-users] %t incorrectly expanding as "System or Console"

2020-10-02 Thread Martin Simmons
It looks like the job type is not passed to the FD for ClientRunBeforeJob. __Martin > On Fri, 02 Oct 2020 16:37:48 +0200, news said: > > Hello! > > I just used %t with ClientRunBeforeJob with a job of type "Backup" and > level "Full" and noticed that %t expanded as "System or Console". >

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-02 Thread Elias Pereira
Ok. I even tested giving enter after sqlquery, but it leaves the bconsole. I run console in one terminal and bacula-dir -d400 in another. Here the output. bconsole: Connecting to Director 200.132.218.178:9101 1000 OK: 103 bacula.sertao.ifrs.edu.br-dir Version: 9.6.6 (20 September 2020) Enter a pe

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-02 Thread Martin Simmons
It looks like bconsole is broken. Does it work with other commands, e.g. restore? The code doesn't contain many other useful debug messages, but please run again with -d900 instead of -d400. Also, please run bconsole with -d900 as well. __Martin > On Fri, 2 Oct 2020 13:47:54 -0300, Elias

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-02 Thread Elias Pereira
Outputs in pastebin. https://pastebin.com/u81FRDu8 On Fri, Oct 2, 2020 at 4:57 PM Martin Simmons wrote: > It looks like bconsole is broken. Does it work with other commands, > e.g. restore? > > The code doesn't contain many other useful debug messages, but please run > again with -d900 instead