Re: [Bacula-users] Baculum recovery does not show directory structure 13.

2022-11-07 Thread Marcin Haba
Hello Magdalena,

Your command outputs look to be correct. Could you also show us debug from
clicking on the / (root directory) action in the restore wizard?

Baculum in the restore wizard uses Bvfs cache to list directories/files
from backup. The bconsole commands below can help to see if it is something
wrong with Bvfs or with Baculum itself. Could I ask you about running them
and checking if they return any output?

.bvfs_lsdirs jobid="24" pathid="768" limit="2000"

.bvfs_lsfiles jobid="24" pathid="768" limit="2000"

If they will not list files or directories, it can mean that something
happened wrong with Bvfs cache. Then you can debug it to find a source of
the problem on the Director side or you can try to clear Bvfs cache:

.bvfs_clear_cache yes

and then generate it for this job:

.bvfs_update jobid="24"

Thanks in advance for letting us know.

Best regards,
Marcin Haba (gani)

On Tue, 8 Nov 2022 at 00:15, Magdalena Sobczak 
wrote:

> Hi,
> I've just installed baculum from branch-13. Everything seems to work
> properly, but restore.
> When at directory structure page (where  normally I should be able to
> choose directory / files) , there is only  / visible (with FileSet include
> /etc). (Please check below output log for JobId24)
>
> Another example with FileSet include on /docker/Containers/Jenkins,
> restore page showing only  / at the  beginning, but  when entering on /, I
> can see docker, the Containers and after only .
>
> This is very similar to another thread I've found but it was also related
> to version 11 of Baculum, and provided patch is implemented  at version 13.:
> Thread: [Bacula-users] When recovering Baculum does not show directory
> structure. Client TrueNas | Bacula (sourceforge.net)
> 
>
> When trying to restore using bconsole, the is no issue, I can see
> directories, files I can choose what I want, so  the conclusion is that is
> baculum related issue.
>
> *bconsole files listing:*
> [...]
> | /etc/iscsi/ |
> | /etc/runit/runsvdir/default/ssh |
> | /etc/runit/runsvdir/default/ |
> | /etc/runit/runsvdir/ |
> | /etc/runit/ |
> | /etc/mke2fs.conf |
> | /etc/pam.conf |
> | /etc/|
> +--+
>
> +---+-+-+--+---+--+---+---+
> | JobId | Name| StartTime   | Type | Level |
> JobFiles | JobBytes  | JobStatus |
>
> +---+-+-+--+---+--+---+---+
> |24 | cd-1 FULL   | 2022-11-07 19:03:57 | B| F |
>   1,438 | 1,939,649 | T |
>
> +---+-+-+--+---+--+---+---+
> list files  jobid=24
>
> *API debug output*
> Connecting to Director cs-a:9101
> 1000 OK: 10002 cs-a.atlantis.home-dir Version: 13.0.1 (05 August 2022)
> Enter a period to cancel a command.
> gui on
> .bvfs_lsdirs jobid="24" path="" limit="2000"
> Using Catalog "Atlantis_MySQL_Catalog"
> 771 0 0 0 A A A A A A A A A A A A A A .
> 768 0 0 0 A A A A A A A A A A A A A A /
> quit
>
> 2022-11-07 23:01:40 [Execute] Bconsole.php:237:
>
> ===> Command:
>
> sudo /usr/sbin/bconsole -c "/etc/bacula/bconsole.conf" -D
> cs-a.atlantis.home-dir 2>&1 < gui on
> .bvfs_lsfiles jobid="24" path="" limit="2000"
> quit
> END_OF_DATA
>
> ===> Output:
>
> Connecting to Director cs-a:9101
> 1000 OK: 10002 cs-a.atlantis.home-dir Version: 13.0.1 (05 August 2022)
> Enter a period to cancel a command.
> gui on
> .bvfs_lsfiles jobid="24" path="" limit="2000"
> Using Catalog "Atlantis_MySQL_Catalog"
> quit
>
> Pozdrawiam /  Regards
> TiaMia
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-- 
"Greater love hath no man than this, that a man lay down his life for his
friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za
przyjaciół swoich." Jezus Chrystus
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Baculum recovery does not show directory structure 13.

2022-11-07 Thread Magdalena Sobczak
Hi,
I've just installed baculum from branch-13. Everything seems to work
properly, but restore.
When at directory structure page (where  normally I should be able to
choose directory / files) , there is only  / visible (with FileSet include
/etc). (Please check below output log for JobId24)

Another example with FileSet include on /docker/Containers/Jenkins, restore
page showing only  / at the  beginning, but  when entering on /, I can see
docker, the Containers and after only .

This is very similar to another thread I've found but it was also related
to version 11 of Baculum, and provided patch is implemented  at version 13.:
Thread: [Bacula-users] When recovering Baculum does not show directory
structure. Client TrueNas | Bacula (sourceforge.net)


When trying to restore using bconsole, the is no issue, I can see
directories, files I can choose what I want, so  the conclusion is that is
baculum related issue.

*bconsole files listing:*
[...]
| /etc/iscsi/ |
| /etc/runit/runsvdir/default/ssh |
| /etc/runit/runsvdir/default/ |
| /etc/runit/runsvdir/ |
| /etc/runit/ |
| /etc/mke2fs.conf |
| /etc/pam.conf |
| /etc/|
+--+
+---+-+-+--+---+--+---+---+
| JobId | Name| StartTime   | Type | Level |
JobFiles | JobBytes  | JobStatus |
+---+-+-+--+---+--+---+---+
|24 | cd-1 FULL   | 2022-11-07 19:03:57 | B| F |
1,438 | 1,939,649 | T |
+---+-+-+--+---+--+---+---+
list files  jobid=24

*API debug output*
Connecting to Director cs-a:9101
1000 OK: 10002 cs-a.atlantis.home-dir Version: 13.0.1 (05 August 2022)
Enter a period to cancel a command.
gui on
.bvfs_lsdirs jobid="24" path="" limit="2000"
Using Catalog "Atlantis_MySQL_Catalog"
771 0 0 0 A A A A A A A A A A A A A A .
768 0 0 0 A A A A A A A A A A A A A A /
quit

2022-11-07 23:01:40 [Execute] Bconsole.php:237:

===> Command:

sudo /usr/sbin/bconsole -c "/etc/bacula/bconsole.conf" -D
cs-a.atlantis.home-dir 2>&1 < Output:

Connecting to Director cs-a:9101
1000 OK: 10002 cs-a.atlantis.home-dir Version: 13.0.1 (05 August 2022)
Enter a period to cancel a command.
gui on
.bvfs_lsfiles jobid="24" path="" limit="2000"
Using Catalog "Atlantis_MySQL_Catalog"
quit

Pozdrawiam /  Regards
TiaMia
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Setting the to address for Bacula GDB traceback

2022-11-07 Thread Martin Simmons
> On Sun, 6 Nov 2022 20:00:55 -0500, Dan Langille said:
> 
> I'm getting some traceback emails like this:
> 
> From: root@localhost
> Subject: Bacula GDB traceback of bacula-dir on bacula.int.example.org
> Sender: bac...@bacula.int.example.org
> To: root@localhost
> 
> There is no 'root@localhost' defined with my bacula-dir configuation.
> 
> [bacula dan /usr/local/etc/bacula] % sudo grep root@localhost * 0:56:01
> bacula-dir.conf:#  mail = root@localhost = all, !skipped, saved
> bacula-dir.conf.sample:  mail = root@localhost = all, !skipped
> bacula-dir.conf.sample:  operator = root@localhost = mount
> bacula-dir.conf.sample:  mail = root@localhost = all, !skipped
> 
> The above are either comments or .sample - none should be active.
> 
> Where is this address coming from?

It is the default for dump_email in configure (used in scripts/btraceback.in).

__Martin


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users