Re: Bacula-web restore assistant : serching by windows root partition letters

Lionel PLASSE <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <MR1P264MB4084128219883CE21C4AD6FCD365A@MR1P264MB4084.FRAP264.PROD.OUTLOOK.COM>
Oh so cool 

Clearing cache worked great. I finally found my root partition letters
.bvfs_clear_cache yes

Thanks a lot !

(and too for path=D:/mydir/ :) )


Lionel

-----Message d'origine-----
De : Marcin Haba <[email protected]> 
Envoyé : vendredi 23 mai 2025 15:23
À : Lionel PLASSE <[email protected]>
Cc : [email protected]
Objet : Re: [Bacula-users] Bacula-web restore assistant : serching by windows root partition letters

[Vous ne recevez pas souvent de courriers de [email protected]. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]

On Fri, 23 May 2025 at 15:01, Lionel PLASSE <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
smime.p7s (application/pkcs7-signature, 3.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.