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 <maddalena.sobc...@gmail.com>
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)
> <https://sourceforge.net/p/bacula/mailman/bacula-users/thread/90c1ba8b-2b60-ea99-7556-bc3a1faba3f9%40icar.com.pl/#msg37309162>
>
> 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 <<END_OF_DATA
> 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

Reply via email to