Hello Saeed,

Could you describe your Bacula environment? How do you use the two
Catalogs? Are they separated with their own Directors or you use one
Director?

For the bvfs requests, it looks that for jobid=1 .bvfs_update command
has not been done or there are no file records for this job in the
catalog (pruned records or empty backup). For test I propose to do in
bconsole:

.bvfs_update jobid=1
.bvfs_lsdirs jobid=1 path=""

Is now something changed in the output?

To see files in the catalog it might be useful to run:

list files jobid=1

Best regards,
Marcin Haba (gani)

On Wed, 12 Jan 2022 at 18:08, Saeed Green <[email protected]> wrote:
>
> Hello
>
> I installed bacula 11.0.5 with baculum 11.0.5.7
> I installed two baculum-api and connect it to two different catalog
> host1=baculum-api:9096 => MyCatalog1
> host2=baculum-api:9097 => MyCatalog2
>
> Everything is ok with the bconsole and I can restore my files with it and 
> even see the list of my files.
> but when I want to restore my files with baculum , host which connected to 
> MyCatalog1 can see its list of files and can restore its files (which is main 
> Catalog beside baculum-web)... host which connected to MyCatalog2 cannot see 
> its list of files and select what he wants, and he just can restore all of 
> his backup.
> .....
> output of " /api/v2/bvfs/lsdirs?jobids=1&path=&limit=8 " in host1
>
> {
>   "output": [
>     ".bvfs_lsdirs jobid=\"1\" path=\"\" limit=\"8\"",
>     "Using Catalog \"MyCatalog1\"",
>     "6\t0\t0\t0\tA A A A A A A A A A A A A A\t."
>   ],
>   "error": 0
> }
>
> output of " /api/v2/bvfs/lsdirs?jobids=1&path=&limit=8 " in host2
>
> {
>   "output": [
>     ".bvfs_lsdirs jobid=\"1\" path=\"\" limit=\"8\"",
>     "Using Catalog \"MyCatalog2\"",
>     "6\t0\t0\t0\tA A A A A A A A A A A A A A\t."
>   ],
>   "error": 0
> }
>
> Is it ok that the output of these two different hosts is the same?
>
> Am I missing something?!
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to