Hello Magdalena, Thanks for the next tries.
It looks a bit strange that in the same window session where you create the fileset you are able to see all content to restore. Also interesting is that in the manual test with bconsole you can see Bvfs content but in the web browser you can see this content sometimes in some circumstances. Could you tell us a bit more about your Baculum settings, particularly: - how many Baculum API host instances do you use and with what capabilities (Catalog, bconsole, configuration...)? - do you use the multi-user functionality with assigning API hosts to users? - do you use the Bacula Console ACLs configuration? Thanks in advance for providing the additional details. Best regards, Marcin Haba (gani) On Wed, 9 Nov 2022 at 23:15, Magdalena Sobczak <maddalena.sobc...@gmail.com> wrote: > Hello Marcin, > > No errors. I've tried a new browser with no extensions and the same > result - nothing visible. Another thing is, when creating a new FileSet and > I have the same kind of window with active directories choosing, I can > see everything. > > Latest discovery: in the restore page, initially is loaded with limit > 2000, when changed to 1 and pressed ENTER, one directory appear, > unfortunately empty inside. > > > > Pozdrawiam / Regards > > Magdalena Sobczak > > > > On Wed, Nov 9, 2022 at 6:48 AM Marcin Haba <ganius...@gmail.com> wrote: > >> Hello Magdalena, >> >> Thanks for providing the outputs. They look correct. So, maybe let's look >> at the problem from the opposite side. >> >> Could you look at the javascript console in the web browser when you go >> through the file browser in the restore wizard? Usually it is available >> after clicking F12, then the tab 'Console'. Are you seeing there any error? >> Or maybe you use some plugins in the web browser? Sometimes plugins can >> disturb application working, so maybe you can also do a try with different >> web browser without plugins? >> >> Thanks in advance for your feedback from tests. >> >> Best regards, >> Marcin Haba (gani) >> >> On Tue, 8 Nov 2022 at 09:28, Magdalena Sobczak < >> maddalena.sobc...@gmail.com> wrote: >> >>> Hi Marcin, >>> thank you for your rapid answer. >>> >>> bconsole output: >>> >>> # this one seems to be correct, indeed should be "etc" >>> *.bvfs_lsdirs jobid="24" pathid="768" limit="2000" >>> 768 0 0 0 A A A A A A A A A A A A A A . >>> 771 0 0 0 A A A A A A A A A A A A A A .. >>> 3 0 41166 24 P0A M EHt BZ A A A BAA BAA I BjaMgU BjaMfN BjaMfN A A C >>> etc/ >>> >>> # Here output is exactly nothing >>> *.bvfs_lsfiles jobid="24" pathid="768" limit="2000" >>> * >>> *.bvfs_clear_cache yes >>> OK >>> *.bvfs_update jobid="24" >>> * >>> *.bvfs_lsdirs jobid="24" pathid="768" limit="2000" >>> 768 0 0 0 A A A A A A A A A A A A A A . >>> 771 0 0 0 A A A A A A A A A A A A A A .. >>> 3 0 41166 24 P0A M EHt BZ A A A BAA BAA I BjaMgU BjaMfN BjaMfN A A C >>> etc/ >>> *.bvfs_lsfiles jobid="24" pathid="768" limit="2000" >>> * >>> >>> Pozdrawiam / Regards >>> >>> Magdalena Sobczak >>> >>> >>> >>> On Tue, Nov 8, 2022 at 4:16 AM Marcin Haba <ganius...@gmail.com> wrote: >>> >>>> 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 >>>> >>> >> >> -- >> "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 >> > -- "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