Hello Tomasz, Thanks for the confirmation that the patch fixes the problem. It has been added to Branch-11.0 and it will be available in the next Baculum release:
https://www.bacula.org/git/cgit.cgi/bacula/commit/?id=f605ffa23b42890629c5039ba9f7625c005d16f2 Also thanks for reporting the problem with translations. It was fixed lately and will be available in the next release as well: https://www.bacula.org/git/cgit.cgi/bacula/commit/?id=c4cbbb8a8452295a0a8ce458fbc4b83d050d2611 Best regards, Marcin Haba (gani) On Mon, 28 Jun 2021 at 09:37, Tomasz Świderski <tom...@icar.com.pl> wrote: > > Sorry to answer only now but I was not available for 3 days. > > Now, it's ok. Thank you very much for help > > I also noticed that there is a problem with translations on one of the > recovery subpages. Screen in the attachment > > W dniu 2021-06-24 o 18:42, Marcin Haba pisze: > > Hello Tomasz, > > > > Thanks for your response and for all details. > > > > I prepared a patch to fix this problem. Could I ask you about trying > > the patch from attachment? It is for Baculum 11.0.5 for a file located > > in path: > > > > /usr/share/baculum/htdocs/protected/API/Class/BVFS.php > > > > Thanks in advance for your feedback. > > > > Best regards, > > Marcin Haba (gani) > > > > On Thu, 24 Jun 2021 at 08:16, Tomasz Świderski <tom...@icar.com.pl> wrote: > >> I debug file I see folders and files > >> > >> , File=/usr/share/baculum/htdocs/protected/API/Class/Bconsole.php, > >> Line=237 (line 74, > >> /usr/share/baculum/htdocs/protected/Common/Class/Logging.php) > >> Jun 24 08:07:11 [Debug] [Execute] Command=sudo /usr/bin/bconsole -c > >> "/opt/bacula/etc/bconsole.conf" -D k-bacula2-dir 2>&1 <<END_OF_DATA > >> gui on > >> .bvfs_lsdirs jobid="136,133,129,127" pathid="420" limit="2000" > >> quit > >> END_OF_DATA, Output=Array > >> ( > >> [0] => Connecting to Director k-bacula2:9101 > >> [1] => 1000 OK: 10002 k-bacula2-dir Version: 11.0.5 (03 June 2021) > >> [2] => Enter a period to cancel a command. > >> [3] => gui on > >> [4] => .bvfs_lsdirs jobid="136,133,129,127" pathid="420" limit="2000" > >> [5] => Using Catalog "MyCatalog" > >> [6] => 420<>0<----->0<----->0<----->A A A A A A A A A A A A A A<--->. > >> [7] => 5<-->0<----->0<----->0<----->A A A A A A A A A A A A A > >> A<--->.. > >> [8] => 395<>0<----->8585<-->133<--->pAP8a i EA4 f A F9eMB -B BO EAA > >> CK Bg0khL Bg0c8l Bg0c8l A gA C<>developer/ > >> [9] => quit > >> ) > >> > >> If in the baculum in the "location" field I change to a subdirectory, > >> then Baculum shows me only files and not folders. Files and directories > >> are visible in the debug > >> > >> W dniu 2021-06-23 o 21:01, Marcin Haba pisze: > >>> Hello Tomasz, > >>> > >>> In this case you can try to enable debug on the API side and look in > >>> the debug file when you are using restore file browser. The most > >>> useful is output from .bvfs_lsdirs and .bvfs_lsfiles bconsole > >>> commands. Are you seeing there the missing in file browser dirs/files? > >>> > >>> The debug is possible to set on the API settings page. Debug file will > >>> be available in path: /var/lib/baculum, if you installed Baculum using > >>> packages from bacula.org. > >>> > >>> Best regards, > >>> Marcin Haba (gani) > >>> > >>> On Wed, 23 Jun 2021 at 08:10, Tomasz Świderski <tom...@icar.com.pl> wrote: > >>>> In bconsole I see in "list files jobid=xxx" and when restore. > >>>> > >>>> I have a similar situation in another company. Truenas is not there. In > >>>> this company, I can see the entire structure except for the content of > >>>> one directory where you can only see files and no directories. Restore > >>>> sees them all > >>>> > >>>> W dniu 2021-06-23 o 07:11, Marcin Haba pisze: > >>>>> Hello Tomasz, > >>>>> > >>>>> Could you check if file records exist for the job that you are trying > >>>>> to restore? I mean for example this bconsole command: > >>>>> > >>>>> list files jobid=XXXX > >>>>> > >>>>> Did you try to restore using bconsole? If yes, did you see there full > >>>>> directory structure? > >>>>> > >>>>> Best regards, > >>>>> Marcin Haba (gani) > >>>>> > >>>>> On Tue, 22 Jun 2021 at 12:03, Tomasz Świderski <tom...@icar.com.pl> > >>>>> wrote: > >>>>>> Bacula and Baculum version 11.0.5. I also tested on version 9.x > >>>>>> > >>>>>> My client bacula-fd install on TrueNas. > >>>>>> > >>>>>> When I make a backup and want to restore it, Baculum doesn't show me > >>>>>> the > >>>>>> directory structure. I can select everything and then it will restore > >>>>>> everything to me, but I can't point to a specific file. > >>>>>> > >>>>>> FileSet { > >>>>>> Name = "ds-wenus" > >>>>>> Include { > >>>>>> Options { > >>>>>> signature = MD5 > >>>>>> xattrsupport = yes > >>>>>> aclsupport = yes > >>>>>> } > >>>>>> File = "/mnt/developer" > >>>>>> } > >>>>>> > >>>>>> } > >>>>>> > >>>>>> Baculum show me only "/mnt" > >>>>>> > >>>>>> Please help > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> 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