Re: [Bacula-users] Baculum 9.6.5.1

2020-10-05 Thread Martin Simmons
Well spotted -- I found an old 7.4.4 bconsole and the sqlquery command does indeed cause bconsole to exit when connected to a 9.6.6 director. __Martin > On Mon, 5 Oct 2020 06:12:14 +0200, Marcin Haba said: > > Hello Elias, > > Your bconsole is 7.4.x version or earlier. I know it isn't requ

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-04 Thread Marcin Haba
Hello Elias, Your bconsole is 7.4.x version or earlier. I know it isn't requirement but here it makes a problem. Could you try to update your bconsole to 9.6.6 version? Best regards, Marcin Haba (gani) On Fri, 2 Oct 2020 at 22:23, Elias Pereira wrote: > > Outputs in pastebin. > > https://paste

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

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
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
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] 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

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Marcin Haba
Hello Elias, Thanks for this debug output. Could you execute in bconsole a 'sql' command and after that the following SQL query? SELECT 'D', tmp.PathId, 0, tmp.Path, JobId, LStat, FileId, FileIndex FROM (SELECT PathHierarchy.PPathId AS PathId, '..' AS Path FROM PathHierarchy JOIN PathVisibility

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Elias Pereira
Thanks, Marcin!! bacula-dir: ua_dotcmds.c:177-0 Cmd: .bvfs_lsdirs jobid=17911 path= bacula-dir: ua_cmds.c:2613-0 UA Open database bacula-dir: mysql.c:119-0 db_init_database first time bacula-dir: mysql.c:224-0 mysql_init done bacula-dir: mysql.c:263-0 mysql_real_connect done bacula-dir: mysql.c:26

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Marcin Haba
Hello Elias, There is something wrong with BVFS on your side. As far as I can see Webacula doesn't use BVFS but it uses restore command directly, so it can explain why you see files there. You can enable Director debug and check if there is anything wrong. You can do it for example by the bconsol

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Elias Pereira
Still not showing the files to restore. On Thu, Oct 1, 2020 at 10:24 PM Jose Alberto wrote: > For the moments. It only occurs to me to clear the bvfs cache and generate > it. This should preferably be run when a backup is not running. > > .bvfs_clear_cache yes > > .bvfs_update > > > > > On Thu,

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Jose Alberto
For the moments. It only occurs to me to clear the bvfs cache and generate it. This should preferably be run when a backup is not running. .bvfs_clear_cache yes .bvfs_update On Thu, Oct 1, 2020 at 5:58 PM Elias Pereira wrote: > Enter a period to cancel a command. > *list files jobid=17911 >

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Elias Pereira
Enter a period to cancel a command. *list files jobid=17911 Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" +--+ | Filename | +--+ | /home/backup/datapump/BDETCOM.log | | /home/backup/datapump/BDETCOM.dmp | | /home/backup/datapump/ | | /home/backup/ | +--

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Jose Alberto
Hi. No show when go to Restore or when"info Job" prune files? for FileRetention. list files jobid=17911 show files? On Thu, Oct 1, 2020 at 9:02 AM Elias Pereira wrote: > Hello, > > I updated my old version to 9.6.5.1, but now the recovery function doesn't > show job file

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Elias Pereira
Enter a period to cancel a command. *.bvfs_update jobid=17911 Using Catalog "MyCatalog" *.bvfs_lsdirs jobid=17911 path= root@bacula:~# On Thu, Oct 1, 2020 at 3:52 PM Elias Pereira wrote: > It occurs the same as in my previous post. > > Enter a period to cancel a command. > *.bvfs_lsdirs jobid=17

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Elias Pereira
It occurs the same as in my previous post. Enter a period to cancel a command. *.bvfs_lsdirs jobid=17911 path= Using Catalog "MyCatalog" root@bacula:~# On Thu, Oct 1, 2020 at 3:46 PM Marcin Haba wrote: > Hello Elias, > > Thanks for this test. > > Could I ask you about manual updating BVFS cache

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Marcin Haba
Hello Elias, Thanks for this test. Could I ask you about manual updating BVFS cache: .bvfs_update jobid=17911 and trying this command once again? .bvfs_lsdirs jobid=17911 path= Best regards, Marcin Haba (gani) On Thu, 1 Oct 2020 at 19:45, Elias Pereira wrote: > > hello Marcin, thanks for th

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Elias Pereira
hello Marcin, thanks for the help!! Output: root@bacula:~# bconsole Connecting to Director xxx.xxx.xxx.xxx:9101 1000 OK: 103 bacula-dir Version: 9.6.6 (20 September 2020) Enter a period to cancel a command. *.bvfs_lsdirs jobid=17911 path= Using Catalog "MyCatalog" roo

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Marcin Haba
Hello Elias, On Thu, 1 Oct 2020 at 15:02, Elias Pereira wrote: > > Hello, > > I updated my old version to 9.6.5.1, but now the recovery function doesn't > show job files. I verify this via webacula and the files are there. > > Any idea? Do you mean list dirs/files in the restore wizard? If yes,

[Bacula-users] Baculum 9.6.5.1

2020-10-01 Thread Elias Pereira
Hello, I updated my old version to 9.6.5.1, but now the recovery function doesn't show job files. I verify this via webacula and the files are there. Any idea? ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.ne

Re: [Bacula-users] Baculum 9.6.5.1

2020-06-28 Thread Chris Wilkinson
Thanks for that. This repository is what I have. I rechecked for updates and Baculum 9.6.5 is available and has installed ok. Regards Chris On Sun, 28 Jun 2020, 9:11 p.m. Marcin Haba, wrote: > Hello Chris, > > For Debian Buster is prepared the following repository: > > deb http://bacula.org/do

Re: [Bacula-users] Baculum 9.6.5.1

2020-06-28 Thread Marcin Haba
Hello Chris, For Debian Buster is prepared the following repository: deb http://bacula.org/downloads/baculum/stable/debian buster main deb-src http://bacula.org/downloads/baculum/stable/debian buster main If you add it to your "/etc/apt/sources.list.d/baculum.list" file, then you will have the B

Re: [Bacula-users] Baculum 9.6.5.1

2020-06-28 Thread Chris Wilkinson
Thank you Marcin. Can you tell me what repository URL I should use to have the Baculum updates installed via the package manager (apt-get…, Debian Buster)? It is currently "buster/updates/contrib/main/non-free” from "http://security.debian.org/ " On the PHP change,

[Bacula-users] Baculum 9.6.5.1

2020-06-28 Thread Marcin Haba
Hello, We are pleased to announce the new Baculum 9.6.5.1 release. So far Baculum has been released together with Bacula. Now it changed a bit that Baculum releases will be more frequent and in some cases (like this) independent of Bacula releases. This change is introduced because Baculum is dev