On Fri, 23 May 2025 at 15:01, Lionel PLASSE <pla...@cofiem.fr> wrote:
> >.bvfs_lsdirs jobid=12345 path=D:/
> >.bvfs_lsfiles jobid=12345 path=D:/
>
> Unfortunately those two commands don't return any results (with a good jobid) 
>  nor with path=D:/mydir

Hello Lionel,

For empty results from the command with path=D:/ it can mean that
something is wrong in your Bvfs cache for this path D:/. I would
propose to rebuild this cache. You can just clear it by this bconsole
command:

.bvfs_clear_cache yes

This will cause that on the next restore wizard use, the cache will be
created from scratch. It will also cause that in the restore wizard,
when the Bvfs cache will be updated, it can take a bit longer time
than usual (loading restore wizard between steps 2 => 3) up till the
cache will be recreated.

For your test with path=D:/mydir it will not work until you add slash
at the end because this path parameter in Bvfs commands requires the
end slash to list results, for example:

GOOD:
=====
path=D:/
path=D:/mydir/
path=D:/mydir/abc/def/

BAD:
=====
path=D:
path=D:/mydir
path=D:/mydir/abc/def

The only exception is the empty path value that lists the main root
elements in the directory tree:

GOOD:
path=

Best regards,
Marcin Haba (gani)


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

Reply via email to