Re: [Bacula-users] Error syncing volume "IMS0502L6" on device "DRIVE3"
Hello Jose, Many thanks for letting us know that the SyncOnClose directive is missing in Bacularis. At the moment I opened a feature request for that in the Bacularis project on GitHub: https://github.com/bacularis/bacularis-app/issues/45 Best regards, Marcin Haba (gani) On Mon, 20 May 2024 at 16:51, Jose Alberto wrote: > I will do it by hand directly in the .conf, I do not see the device option > in Bacularis. > > Thanks > > On Thu, May 16, 2024 at 1:36 PM Martin Simmons > wrote: > >> Does this happen with every job? >> >> You could try adding >> >> SyncOnClose = no >> >> to the device settings to prevent it from doing the sync. >> >> __Martin >> >> >> >>>>> On Thu, 16 May 2024 10:56:54 -0400, Jose Alberto said: >> > >> > Hi. >> > >> > I have the log when bacula finish Job. >> > >> > the Job finish with stauts OK but with Warning. >> > >> > LOG: >> > 15-May 10:05 backup-sd JobId 92: Error: Error syncing volume >> "IMS0502L6" on >> > device "DRIVE3" (/dev/tape/by-id/scsi-3200a000e11161f33-nst). >> ERR=Invalid >> > argument. >> > >> > Library IBM ts3200 3 drive lto6 and 48 slots. conect: FC >> > >> > It happens with the 4 drive. >> > >> > My SD: >> > >> > Autochanger { >> > Name = "TS3200" >> > Device = "DRIVE0" >> > Device = "DRIVE1" >> > Device = "DRIVE2" >> > Device = "DRIVE3" >> > ChangerDevice = "/dev/tape/by-id/scsi-1IBM_3573-TL_00L4U78W4076_LL0" >> > ChangerCommand = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d" >> > } >> > >> > N+4 >> > Device { >> > Name = "DRIVE" >> > MediaType = "LTO-6" >> > DeviceType = "Tape" >> > ArchiveDevice = "/dev/tape/by-id/scsi-3200a000e11161f33-nst" >> > RemovableMedia = yes >> > RandomAccess = no >> > AutomaticMount = yes >> > AlwaysOpen = yes >> > Autochanger = yes >> > ChangerCommand = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d" >> > AlertCommand = "sh -c 'smartctl -H -l error %c'" >> > DriveIndex = 3 >> > AutoSelect = yes >> > } >> > >> > >> > thanks. >> > >> > >> > >> > -- >> > # >> > # Sistema Operativo: Debian # >> > #Caracas, Venezuela # >> > # >> > >> > > > -- > # > # Sistema Operativo: Debian # > #Caracas, Venezuela # > # > ___ > 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
[Bacula-users] New release Bacularis 3.0.0
Hello Everybody, We are glad to let you know that we released a new Bacularis version 3.0.0. This is a major new function release. We added the job files difference function that enables comparing files in jobs and finding file differences between selected jobids or jobids range (see video below). Besides that we added new features in configuration parts of Bacula. They are new columns to display descriptions and to check dependency in which resource every single resource is used, for example: Pool X is in use by Job Y and JobDefs Z. At the end we added a self-test to do a health state check of each API instance used by the web interface. New function video guide: - Job files difference: https://www.youtube.com/watch?v=4MFnLNlOHs4 Useful links: Release announcement: https://bacularis.app/news/82/36/New-release-Bacularis-3.0.0 Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app As always binary packages for popular Linux distributions are available already in the package repositories. Docker container images are available in the Docker Hub repositories. Happy using Bacularis! On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] Baculum error with 15.0.2 catalog Pg
Hello Jose, Yes, this Baculum from Bullseye repository is a bit older and not adapted to Bacula 15. As you could notice, Bacularis is a better choice for that. It has been prepared and well tested with Bacula version 15. The general idea of Bacularis for supported Bacula versions is to help users stop thinking in a way: "Which Bacularis version should I use with which Bacula version?". It is something that in Bacularis we would like to avoid. It works with all Bacula versions starting from 9 up till latest. So, if somebody has a relatively modern Bacula environment, he/she can always take the latest Bacularis and be sure that it will work. Best regards, Marcin Haba (gani) On Tue, 23 Apr 2024 at 12:55, Jose Alberto wrote: > Hi. > > I have new installation clean > > Debian 12 (ok) > Bacula 15.0.2 (ok) > Postgres (ok) > Baculum. (error open dashboard, show query error), "using the bullseye > repo, because they are not enabled for debian 12. maybe that's it. " > > But with Bacularis This does not happen. > > > -- > # > # Sistema Operativo: Debian # > #Caracas, Venezuela # > # > ___ > 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
[Bacula-users] New release Bacularis 2.8.0
Hello Everybody, We are glad to let you know that we released a new Bacularis version 2.8.0. It is a new feature and bug fix release. We introduced a couple of improvements for using the backup file list function like finding the largest or the newest files in backup. Besides that we added new deployment OS profiles for Ubuntu 24.04 Noble and Fedora 40 to enable easily deploying Bacularis and Bacula components to remote hosts with these systems. On the bug fixes side, we fixed bugs reported by the Community. New functions in 2.8.0: - Top 10 backup files function: https://www.youtube.com/watch?v=ny1pDIwZnD0 Useful links: Release announcement: https://bacularis.app/news/80/36/New-release-Bacularis-2.8.0 Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app As always binary packages 2.8.0 for popular Linux distributions are available already in the package repositories. Docker container images 2.8.0 are available in the Docker Hub repositories. Happy using. On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] [Bacularis/Baculum] Restore with web doesn't create job before 1 hour
Hello Timothé, On Wed, 10 Apr 2024 at 17:29, timothe pennec wrote: > Thank you i will test this workaround. > > Maybe migrating to PostreSQL will correct this issue if i understood ? > For sure it is a good choice for Bacula. Best regards, Marcin Haba (gani) > > Best regards, > Timothé > > ------ > *De :* Marcin Haba > *Envoyé :* mercredi 10 avril 2024 07:32 > *À :* timothe pennec ; > Bacula-users@lists.sourceforge.net > *Objet :* Re: [Bacula-users] [Bacularis/Baculum] Restore with web doesn't > create job before 1 hour > > Hello Timothé, > > I did some tests and analysis for this hanging restore command error. It > looks that the Bacula Bvfs restore part responsible for hardlinks causes > it. This change came to Bacula in version 11.0. > > Looking at this hardlinks part, as a workaround I created an index in the > catalog that solved this hanging: > > CREATE INDEX file_jobid_fileindex_idx ON File (JobId, FileIndex); > > Creating this index can take some time specially if you have many files in > the File table, but later the restore starts without waiting. > > Creating index is not a solution, better if the hardlinks part could be > optimized if possible. For now I don't have any other option for that. > > For these hardlinks, in Bacula it is a common part for MySQL/MariaDB and > PostgreSQL, but with MySQL this problem is much better visible. > > Best regards, > Marcin Haba (gani) > > On Sat, 6 Apr 2024 at 18:55, Marcin Haba wrote: > > Hello Timothé, > > Thanks for providing all details about this restore problem. > > I did tests on a set of 150K files with old Bacula 9.0.6 and the latest > 15.0.2. It looks that something has changed in Bacula MySQL/MariaDB support > in a version between because on the version 9 it works well, while on 15 it > hangs on the restore commands. > > Your restore using bconsole can work much better because it does not use > Bacula Bvfs interface. > > I will try to look at it deeper in the next few days. I will let know if I > find something. > > Best regards, > Marcin Haba (gani) > > On Thu, 4 Apr 2024 at 16:14, timothe pennec wrote: > > Hi, > > I'm using mariadb for database and it's him seems to be slow : > top result : > > top - 16:08:51 up 2 days, 20:10, 6 users, load average: 0,97, 0,60, 0,29 > Tasks: 307 total, 1 running, 306 sleeping, 0 stopped, 0 zombie > %Cpu(s): 12,5 us, 0,0 sy, 0,0 ni, 87,3 id, 0,0 wa, 0,0 hi, 0,2 si, > 0,0 st > MiB Mem : 7936,5 total,177,7 free,592,8 used, 7166,1 buff/cache > MiB Swap: 4096,0 total, 4095,0 free, 1,0 used. 7026,5 avail Mem > PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND > 29267 mysql 20 0 1346196 142604 23396 S 100,0 1,8 2:53.58 > mariadbd > > I've 8 vCPU but only one is at 100 % (can see it with htop) all other at 0. > > I've enabled debug level 500 and i can see many log right after submit > button "Run" and stuck at : > > bacula-dir: ua_restore.c:2015-0 JobId=4792 JobIds= FileIndex=10 > [All 53000 files ...] > bacula-dir: ua_restore.c:2015-0 JobId=4792 JobIds= FileIndex=53895 > bacula-dir: ua_restore.c:2015-0 JobId=4792 JobIds= FileIndex=53896 > bacula-dir: mysql.c:584-0 db_sql_query finished > bacula-dir: ua_restore.c:1476-0 query=SELECT Path.Path, File.Filename FROM > File JOIN Path USING (PathId) JOIN b210091 AS T ON (File.JobId = T.JobId > AND File.FileIndex = T.FileIndex) WHERE File.Filename LIKE > ':component_info_%' AND File.JobId IN (4792) > bacula-dir: mysql.c:527-0 db_sql_query starts with SELECT Path.Path, > File.Filename FROM File JOIN Path USING (PathId) JOIN b210091 AS T ON > (File.JobId = T.JobId AND File.FileIndex = T.FileIndex) WHERE File.Filename > LIKE ':component_info_%' AND File.JobId IN (4792) > > > Any idea ? > > Thank you > Timothé > > -- > *De :* Marcin Haba > *Envoyé :* mercredi 3 avril 2024 21:53 > *À :* timothe pennec > *Cc :* bacula-users@lists.sourceforge.net < > bacula-users@lists.sourceforge.net> > *Objet :* Re: [Bacula-users] [Bacularis/Baculum] Restore with web doesn't > create job before 1 hour > > Hello Timothé, > > Thanks for your detailed description of the problem. > > For start I would propose to check what is going inside Bacula and the > Catalog when this restore is trying to start. > > Yes, observing 'ps aux' is a good idea, that you did. Also useful can be > 'top' command with watching what process takes the most resources. > > From the Bacula side you can set debug for Director by this bconsole > command: > > setdebug level=500 tags=bvfs,sql trace=1 dir > &g
Re: [Bacula-users] baculum + bacula 13.0.4 slow web interface
Hello Unkdef, Thanks for your feedback. I would propose to do a test. Could you please go to the application settings page (the gear wheel icon on the top left side), there please go to the 'Display options' tab and in an option with label "Job age on the dashboard job graphs" could you put a value for example 7 days or 3 days? Once you save it, please check and let us know if loading the dashboard is faster. Did you try to tune the database using mysqltuner? Best regards, Marcin Haba (gani) On Wed, 10 Apr 2024 at 10:30, Unkdef unkdef wrote: > Please help problem not solved. when i renew page i dont see backups... i > need to wait 10-20 sec before it appears > > вс, 7 апр. 2024 г. в 15:33, Marcin Haba : > >> Hello Unkdef, >> >> Yes, it does. As Rob mentioned, Bacularis is based on Baculum that >> supports Russian translations too. The translations are there thanks to >> Sergey Zhidkov who prepared them. >> >> Best regards, >> Marcin Haba (gani) >> >> On Sun, 7 Apr 2024 at 10:50, Unkdef unkdef >> wrote: >> >>> >>> ok i try bacularis >>> does bacularis support russian language interface? >>> >>> Rob Gerber 7 апреля 2024 г. 01:24:27 написал: >>> >>>> Unkdef, one important thing to know is that Bacularis is a friendly >>>> fork of baculum. It's very similar, and Marcin has been actively >>>> maintaining it. Marcin is also a baculum developer. >>>> >>>> Basically, Bacularis is the better, more optimized tool. >>>> >>>> This doesn't mean that the source of your problem is certainly baculum, >>>> but trying the actively maintained and more optimized tool Bacularis is >>>> certainly a good first step. :) >>>> >>>> Bacularis is available in docker containers if you want to simply load >>>> a container and give it a try. It is naturally available for bare metal >>>> installations as well. >>>> >>>> Https://bacularis.app >>>> >>>> Robert Gerber >>>> 402-237-8692 >>>> r...@craeon.net >>>> >>>> -- "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
Re: [Bacula-users] Install.sh error trying to install manually Bacularis
Hello Neil, Yes, I think that your assumption about PATH can be correct. It looks that the /usr/local/bin path is not accessible for executing by PHP exec(). If you want you can add at the beginning of the mtx-changer script echo $PATH to see where exactly mtx-changer looks for binaries when it is executed via web. I found that FreeBSD users report this problem with PATH too: https://forums.freebsd.org/threads/heads-up-php-exec-does-not-look-in-usr-local-bin-for-executables.78098/ Fortunately it is not difficult to solve. You can fix the PATH in mtx-changer script or globally if it is possible. Best regards, Marcin Haba (gani) On Wed, 10 Apr 2024 at 18:33, Neil Balchin wrote: > When trying to configure the auto changer in the API panel, I click. > Checkbox on get sudo configuration and when I test I get this error in red: > >/usr/local/share/bacula/mtx-changer: mtx: not found > /usr/local/share/bacula/mtx-changer: perl: not found > > > Both mtx and perl are installed in the system , perhaps there’s a path > issue in the MTX changer script ? > > > On 9 Apr 2024, at 20:56, Marcin Haba wrote: > > Hello Neil, > > For running everything in FreeBSD Jail, if to use mtx-changer by bacula > user is needed sudo, I think the sudo needs to be added to ChangerCommand > too: > > Autochanger { > Name = "TL2000" > Device = "HH-LTO7" > ChangerDevice = "/dev/pass1" > ChangerCommand = "sudo /etc/bacula/scripts/mtx-changer %c %o %S %a %d" > } > > For Perl, it is used by mtx-changer script. I see in mtx-changer that the > Perl command can be changed to commented by default awk/sed/cut commands. > Inside mtx-changer after the Perl command is this comment: > > # If perl isn't installed, you can use by those commands > > Best regards, > Marcin Haba (gani) > > On Wed, 10 Apr 2024 at 01:44, Neil Balchin wrote: > >> So I’m doing all of this from within a Freebsd Jail inside of Trueness. >> >> Therefore although I can expose the /dev devices I can’t easily change >> their rwx properties so instead I added some lines to my sudoers config >> file that allows the www and bacula users to perform certain sudo functions >> without a password. >> >> >> I added a sudo in front of my max-changer config in my bacula-sd.conf, >> by my theory this should be just fine >> >> I tested this command: >> root@Bacula1:~ # sudo -u bacula sudo /usr/local/share/bacula/mtx-changer >> /dev/pass1 slots >> 24 >> root@Bacula1:~ # >> >> And as you can see I get the expected count of 24 slots >> >> Unfortunately from console: I get >> >> *update slots >> Automatically selected Catalog: MyCatalog >> Using Catalog "MyCatalog" >> The defined Storage resources are: >> 1: File1 >> 2: File2 >> 3: HH-LTO7 >> 4: TL2000 >> Select Storage resource (1-4): 4 >> Connecting to Storage daemon TL2000 at localhost:9103 ... >> 3306 Issuing autochanger "slots" command. >> Device "TL2000" has 0 slots. >> No slots in changer to scan. >> * >> >> Now when I try to add the Autochanger TL2000 in the API I get an error >> that it can’t find perl, Is perl a preqequisite to bacula and I missed >> that ? >> >> >> >> >> >> On 9 Apr 2024, at 14:39, Marcin Haba wrote: >> >> Hello Neil, >> >> From your description it looks that Bacularis works with the mtx-changer >> script well. >> >> For labeling volumes, as it is action realized by Bacula SD, so I think, >> it might be good to check if the mtx-changer script is capable of being >> correctly executed by the bacula user. >> >> For test I would propose to try this command: >> >> # sudo -u bacula /etc/bacula/scripts/mtx-changer /dev/pass1 slots >> >> and also a good test could be trying to label a sample volume using >> bconsole. >> >> Best regards, >> Marcin Haba (gani) >> >> On Tue, 9 Apr 2024 at 20:30, Rob Gerber wrote: >> >>> What happens when you click 'update slots' on the volumes page, and tell >>> it to update slots 1-24? Idk if this is relevant, but perhaps it is. Should >>> update bacula's knowledge of what is in the library, as per mtx. The output >>> once you click that button and tell it to update slots 1-24 should show >>> that it knew about every tape's position in various slots in the library. >>> If it says anything about updating a record to reflect a tape being in a >>> certain slot, then its knowledge was incorrect and has been correc
Re: [Bacula-users] [Bacularis/Baculum] Restore with web doesn't create job before 1 hour
Hello Timothé, I did some tests and analysis for this hanging restore command error. It looks that the Bacula Bvfs restore part responsible for hardlinks causes it. This change came to Bacula in version 11.0. Looking at this hardlinks part, as a workaround I created an index in the catalog that solved this hanging: CREATE INDEX file_jobid_fileindex_idx ON File (JobId, FileIndex); Creating this index can take some time specially if you have many files in the File table, but later the restore starts without waiting. Creating index is not a solution, better if the hardlinks part could be optimized if possible. For now I don't have any other option for that. For these hardlinks, in Bacula it is a common part for MySQL/MariaDB and PostgreSQL, but with MySQL this problem is much better visible. Best regards, Marcin Haba (gani) On Sat, 6 Apr 2024 at 18:55, Marcin Haba wrote: > Hello Timothé, > > Thanks for providing all details about this restore problem. > > I did tests on a set of 150K files with old Bacula 9.0.6 and the latest > 15.0.2. It looks that something has changed in Bacula MySQL/MariaDB support > in a version between because on the version 9 it works well, while on 15 it > hangs on the restore commands. > > Your restore using bconsole can work much better because it does not use > Bacula Bvfs interface. > > I will try to look at it deeper in the next few days. I will let know if I > find something. > > Best regards, > Marcin Haba (gani) > > On Thu, 4 Apr 2024 at 16:14, timothe pennec wrote: > >> Hi, >> >> I'm using mariadb for database and it's him seems to be slow : >> top result : >> >> top - 16:08:51 up 2 days, 20:10, 6 users, load average: 0,97, 0,60, 0,29 >> Tasks: 307 total, 1 running, 306 sleeping, 0 stopped, 0 zombie >> %Cpu(s): 12,5 us, 0,0 sy, 0,0 ni, 87,3 id, 0,0 wa, 0,0 hi, 0,2 si, >> 0,0 st >> MiB Mem : 7936,5 total,177,7 free,592,8 used, 7166,1 >> buff/cache >> MiB Swap: 4096,0 total, 4095,0 free, 1,0 used. 7026,5 avail Mem >> PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND >> 29267 mysql 20 0 1346196 142604 23396 S 100,0 1,8 2:53.58 >> mariadbd >> >> I've 8 vCPU but only one is at 100 % (can see it with htop) all other at >> 0. >> >> I've enabled debug level 500 and i can see many log right after submit >> button "Run" and stuck at : >> >> bacula-dir: ua_restore.c:2015-0 JobId=4792 JobIds= FileIndex=10 >> [All 53000 files ...] >> bacula-dir: ua_restore.c:2015-0 JobId=4792 JobIds= FileIndex=53895 >> bacula-dir: ua_restore.c:2015-0 JobId=4792 JobIds= FileIndex=53896 >> bacula-dir: mysql.c:584-0 db_sql_query finished >> bacula-dir: ua_restore.c:1476-0 query=SELECT Path.Path, File.Filename >> FROM File JOIN Path USING (PathId) JOIN b210091 AS T ON (File.JobId = >> T.JobId AND File.FileIndex = T.FileIndex) WHERE File.Filename LIKE >> ':component_info_%' AND File.JobId IN (4792) >> bacula-dir: mysql.c:527-0 db_sql_query starts with SELECT Path.Path, >> File.Filename FROM File JOIN Path USING (PathId) JOIN b210091 AS T ON >> (File.JobId = T.JobId AND File.FileIndex = T.FileIndex) WHERE File.Filename >> LIKE ':component_info_%' AND File.JobId IN (4792) >> >> >> Any idea ? >> >> Thank you >> Timothé >> >> -- >> *De :* Marcin Haba >> *Envoyé :* mercredi 3 avril 2024 21:53 >> *À :* timothe pennec >> *Cc :* bacula-users@lists.sourceforge.net < >> bacula-users@lists.sourceforge.net> >> *Objet :* Re: [Bacula-users] [Bacularis/Baculum] Restore with web >> doesn't create job before 1 hour >> >> Hello Timothé, >> >> Thanks for your detailed description of the problem. >> >> For start I would propose to check what is going inside Bacula and the >> Catalog when this restore is trying to start. >> >> Yes, observing 'ps aux' is a good idea, that you did. Also useful can be >> 'top' command with watching what process takes the most resources. >> >> From the Bacula side you can set debug for Director by this bconsole >> command: >> >> setdebug level=500 tags=bvfs,sql trace=1 dir >> >> in the Bacula Director working directory you will see the >> youdirector-dir.trace file where this debug lines will be written. >> >> If your Catalog database is PostgreSQL you ran run in the time of the >> restore hanging this SQL query to see currently pending SQL queries: >> >> SELECT * FROM pg_stat_activity; >> >> Please let us know about the results. >> >> Good luck. >> &
Re: [Bacula-users] Install.sh error trying to install manually Bacularis
Hello Neil, For running everything in FreeBSD Jail, if to use mtx-changer by bacula user is needed sudo, I think the sudo needs to be added to ChangerCommand too: Autochanger { Name = "TL2000" Device = "HH-LTO7" ChangerDevice = "/dev/pass1" ChangerCommand = "sudo /etc/bacula/scripts/mtx-changer %c %o %S %a %d" } For Perl, it is used by mtx-changer script. I see in mtx-changer that the Perl command can be changed to commented by default awk/sed/cut commands. Inside mtx-changer after the Perl command is this comment: # If perl isn't installed, you can use by those commands Best regards, Marcin Haba (gani) On Wed, 10 Apr 2024 at 01:44, Neil Balchin wrote: > So I’m doing all of this from within a Freebsd Jail inside of Trueness. > > Therefore although I can expose the /dev devices I can’t easily change > their rwx properties so instead I added some lines to my sudoers config > file that allows the www and bacula users to perform certain sudo functions > without a password. > > > I added a sudo in front of my max-changer config in my bacula-sd.conf, by > my theory this should be just fine > > I tested this command: > > root@Bacula1:~ # sudo -u bacula sudo /usr/local/share/bacula/mtx-changer > /dev/pass1 slots > > 24 > > root@Bacula1:~ # > > > And as you can see I get the expected count of 24 slots > > > Unfortunately from console: I get > > > *update slots > > Automatically selected Catalog: MyCatalog > > Using Catalog "MyCatalog" > > The defined Storage resources are: > > 1: File1 > > 2: File2 > > 3: HH-LTO7 > > 4: TL2000 > > Select Storage resource (1-4): 4 > > Connecting to Storage daemon TL2000 at localhost:9103 ... > > 3306 Issuing autochanger "slots" command. > > Device "TL2000" has 0 slots. > > No slots in changer to scan. > > * > > > Now when I try to add the Autochanger TL2000 in the API I get an error > that it can’t find perl, Is perl a preqequisite to bacula and I missed > that ? > > > > > > > On 9 Apr 2024, at 14:39, Marcin Haba wrote: > > Hello Neil, > > From your description it looks that Bacularis works with the mtx-changer > script well. > > For labeling volumes, as it is action realized by Bacula SD, so I think, > it might be good to check if the mtx-changer script is capable of being > correctly executed by the bacula user. > > For test I would propose to try this command: > > # sudo -u bacula /etc/bacula/scripts/mtx-changer /dev/pass1 slots > > and also a good test could be trying to label a sample volume using > bconsole. > > Best regards, > Marcin Haba (gani) > > On Tue, 9 Apr 2024 at 20:30, Rob Gerber wrote: > >> What happens when you click 'update slots' on the volumes page, and tell >> it to update slots 1-24? Idk if this is relevant, but perhaps it is. Should >> update bacula's knowledge of what is in the library, as per mtx. The output >> once you click that button and tell it to update slots 1-24 should show >> that it knew about every tape's position in various slots in the library. >> If it says anything about updating a record to reflect a tape being in a >> certain slot, then its knowledge was incorrect and has been corrected. >> >> Robert Gerber >> 402-237-8692 >> r...@craeon.net >> >> On Tue, Apr 9, 2024, 1:14 PM Neil Balchin wrote: >> >>> Ok Great, that solves that problem >>> >>> I’m almost there >>> >>> I’m using a Dell TL2000 Tape library and a HH LTO7 drive >>> >>> I’ve added these to my bacula-sd ( configs pasted below). Also added the >>> Autochanger and Drives to the API device list >>> >>> From the API gui. It’s clearly running the slots and status commands >>> properly. Because it shows the 19 tapes with barcodes , however when I try >>> to label these tapes from the volumes page it reports Zero slots >>> >>> Autochanger { >>> Name = "TL2000" >>> Device = "HH-LTO7" >>> ChangerDevice = "/dev/pass1" >>> ChangerCommand = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" >>> } >>> >>> Device { >>> Name = "HH-LTO7" >>> MediaType = "LTO-7" >>> ArchiveDevice = "/dev/sa0" >>> HardwareEndOfMedium = no >>> BackwardSpaceRecord = no >>> BsfAtEom = yes >>> TwoEof = yes >>> FastForwardSpaceFile = yes >>> RemovableMedia = yes >>> RandomAccess = no >>> AutomaticMount = yes >>> AlwaysOpen = yes >>> Autochanger = yes >>> ControlDevice = "/dev/pass1" >>> AlertCommand = "/usr/local/share/bacula/tapealert %l" >>> } >>> >>> I can run mt and mtx commands freely from the command line as both the >>> bacula user and www user so I think my /dev/ permissions are ok >>> >>> >>> >>> >>> >>> >>> > -- "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
Re: [Bacula-users] Install.sh error trying to install manually Bacularis
Hello Neil, >From your description it looks that Bacularis works with the mtx-changer script well. For labeling volumes, as it is action realized by Bacula SD, so I think, it might be good to check if the mtx-changer script is capable of being correctly executed by the bacula user. For test I would propose to try this command: # sudo -u bacula /etc/bacula/scripts/mtx-changer /dev/pass1 slots and also a good test could be trying to label a sample volume using bconsole. Best regards, Marcin Haba (gani) On Tue, 9 Apr 2024 at 20:30, Rob Gerber wrote: > What happens when you click 'update slots' on the volumes page, and tell > it to update slots 1-24? Idk if this is relevant, but perhaps it is. Should > update bacula's knowledge of what is in the library, as per mtx. The output > once you click that button and tell it to update slots 1-24 should show > that it knew about every tape's position in various slots in the library. > If it says anything about updating a record to reflect a tape being in a > certain slot, then its knowledge was incorrect and has been corrected. > > Robert Gerber > 402-237-8692 > r...@craeon.net > > On Tue, Apr 9, 2024, 1:14 PM Neil Balchin wrote: > >> Ok Great, that solves that problem >> >> I’m almost there >> >> I’m using a Dell TL2000 Tape library and a HH LTO7 drive >> >> I’ve added these to my bacula-sd ( configs pasted below). Also added the >> Autochanger and Drives to the API device list >> >> From the API gui. It’s clearly running the slots and status commands >> properly. Because it shows the 19 tapes with barcodes , however when I try >> to label these tapes from the volumes page it reports Zero slots >> >> Autochanger { >> >> Name = "TL2000" >> >> Device = "HH-LTO7" >> >> ChangerDevice = "/dev/pass1" >> >> ChangerCommand = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" >> >> } >> >> >> Device { >> >> Name = "HH-LTO7" >> >> MediaType = "LTO-7" >> >> ArchiveDevice = "/dev/sa0" >> >> HardwareEndOfMedium = no >> >> BackwardSpaceRecord = no >> >> BsfAtEom = yes >> >> TwoEof = yes >> >> FastForwardSpaceFile = yes >> >> RemovableMedia = yes >> >> RandomAccess = no >> >> AutomaticMount = yes >> >> AlwaysOpen = yes >> >> Autochanger = yes >> >> ControlDevice = "/dev/pass1" >> >> AlertCommand = "/usr/local/share/bacula/tapealert %l" >> >> } >> >> >> I can run mt and mtx commands freely from the command line as both the >> bacula user and www user so I think my /dev/ permissions are ok >> >> >> >> >> >> >> On 9 Apr 2024, at 09:39, Marcin Haba wrote: >> >> Hello Neil, >> >> Great to hear that you were able to set up the Bacularis instance. >> >> This error that you see is because in the php.ini file on FreeBSD by >> default is error reporting set to display all errors. To fix this error you >> need to edit php.ini file: >> >> /usr/local/etc/php.ini >> >> and change error reporting line from this: >> >> error_reporting = E_ALL >> >> into this one: >> >> error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT >> >> At the end you need to restart PHP. >> >> Best regards, >> Marcin Haba (gani) >> >> On Tue, 9 Apr 2024 at 15:22, Neil Balchin wrote: >> >>> Thanks so much, >>> >>> >>> I got a little further along my path >>> >>> The Bacularis web guide is up and running >>> >>> I’ve configured my web server user (www) to have appropriate file >>> permissions for the bacula config files and directories and added the sudo >>> permissions for the necessary binaries >>> >>> I think I’m missing something in my server setup because >>> >>> I get this error when I try to config anything: >>> >>> >>> >>> Error 1000 - Internal error. [Unknown Error] substr(): Passing null to >>> parameter #1 ($string) of type string is deprecated (@line 232 in file >>> /usr/local/www/bacularis/protected/vendor/pradosoft/prado/framework/Data/Common/Pgsql/TPgsqlMetaData.php). >>> >>> >>> >>> On 8 Apr 2024, at 23:35, Marcin Haba wrote: >>> >>> Hello Neil, >>> >>> I have checked installing Bacularis on FreeBSD and
Re: [Bacula-users] Install.sh error trying to install manually Bacularis
Hello Neil, Great to hear that you were able to set up the Bacularis instance. This error that you see is because in the php.ini file on FreeBSD by default is error reporting set to display all errors. To fix this error you need to edit php.ini file: /usr/local/etc/php.ini and change error reporting line from this: error_reporting = E_ALL into this one: error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT At the end you need to restart PHP. Best regards, Marcin Haba (gani) On Tue, 9 Apr 2024 at 15:22, Neil Balchin wrote: > Thanks so much, > > > I got a little further along my path > > The Bacularis web guide is up and running > > I’ve configured my web server user (www) to have appropriate file > permissions for the bacula config files and directories and added the sudo > permissions for the necessary binaries > > I think I’m missing something in my server setup because > > I get this error when I try to config anything: > > > > Error 1000 - Internal error. [Unknown Error] substr(): Passing null to > parameter #1 ($string) of type string is deprecated (@line 232 in file > /usr/local/www/bacularis/protected/vendor/pradosoft/prado/framework/Data/Common/Pgsql/TPgsqlMetaData.php). > > > > On 8 Apr 2024, at 23:35, Marcin Haba wrote: > > Hello Neil, > > I have checked installing Bacularis on FreeBSD and I have one more note. > > By default in Apache is used PHP as Apache module. If you want to use it > this way, it is fine. Nothing else to do. If you will need to use PHP > through PHP-FPM, then you need to do a few changes in your httpd.conf to > disable the Apache PHP module and enable PHP-FPM. > > First, you need to disable/comment the MPM Prefork module and libphp: > > #LoadModule mpm_prefork_module libexec/apache24/mod_mpm_prefork.so > #LoadModule php_module libexec/apache24/libphp.so > > and enable/uncomment these modules: > > LoadModule mpm_event_module libexec/apache24/mod_mpm_event.so > LoadModule proxy_module libexec/apache24/mod_proxy.so > LoadModule proxy_fcgi_module libexec/apache24/mod_proxy_fcgi.so > > Then you need to add these lines to the same httpd.conf: > > > SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 > > SetHandler "proxy:unix:/tmp/php-fpm.sock|fcgi://localhost/" > > > > At the end in /usr/local/etc/php-fpm.d/www.conf you need to set > permissions for PHP-FPM unix socket: > > listen.owner = www > listen.group = www > listen.mode = 0660 > > and restart the services: > > # service php-fpm restart > # service apache24 restart > > Best regards, > Marcin Haba (gani) > > On Tue, 9 Apr 2024 at 04:54, Marcin Haba wrote: > >> Hello Neil, >> >> Thanks for your feedback with installing Bacularis on FreeBSD. >> >> It looks that in your environment this script uses the default FreeBSD >> shell /bin/sh (or any other) that does not support arrays. >> >> This is the Bash script so to use it you need to install Bash: >> >> # pkg install bash >> >> After that you need to update shebang in the install.sh script to: >> >> #!/usr/local/bin/bash >> >> Once it is done, it should start working well. In case problems, please >> let us know. >> >> Good luck! >> >> Best regards, >> Marcin Haba (gani) >> >> On Tue, 9 Apr 2024 at 02:38, Neil Balchin wrote: >> >>> I’ve installed Bacula in a Freebsd Jail and all is well, Also installed >>> Apache24, and the requisite php mods to run bacularis. >>> >>> I’ve followed the manual instructions to the letter but when I get to >>> the install.sh step I get this error output : >>> >>> root@Bacula1:/usr/local/www/bacularis/protected/tools # sh ./install.sh >>> -p /tmp/php-fpm.sock >>> >>> +===+ >>> | Welcome in the Bacularis install script | >>> +---+ >>> | This script will help you to adjust privileges | >>> | for Bacularis files and it will prepare | >>> | configuration files for popular web servers. | >>> +---+ >>> >>> >>> ./install.sh: 34: Syntax error: word unexpected (expecting ")") >>> root@Bacula1:/usr/local/www/bacularis/protected/tools # >>> >>> >>> >>> ___ >>> Bacula-users mailing list >>> Bacula-users@lists.sourceforge.net >>> https://lists.sourc
Re: [Bacula-users] Bacula and german special chars "umlauts"
Hello Stefan, Yes, filenames displayed in the restore process. Also it might be good to check how the names are stored in the database in the File table if everything is fine there. Best regards, Marcin Haba (gani) On Tue, 9 Apr 2024 at 08:20, Stefan G. Weichinger wrote: > Am 09.04.24 um 08:04 schrieb Marcin Haba: > > Hello Stefan, > > > > I agree with Anders' advice to check Bacula first. Bacula stores file > > names in the database as they are, without interpreting them, no > > encoding conversion. It means that something is wrong on the input when > > names are stored, it will also be wrong on the output when names are get > > from the database. > > And would do I check in Bacula? > > The display of filenames in the Restore-process? > > -- "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
Re: [Bacula-users] Bacula and german special chars "umlauts"
Hello Stefan, I agree with Anders' advice to check Bacula first. Bacula stores file names in the database as they are, without interpreting them, no encoding conversion. It means that something is wrong on the input when names are stored, it will also be wrong on the output when names are get from the database. Best regards, Marcin Haba (gani) On Tue, 9 Apr 2024 at 07:15, Anders Gustafsson wrote: > Not using bacularis, but accented characters, used in all languages, > except English and some odd language > spoken by about 1000 people on an island in the Pacific, work for us. Try > restoring from bconsole to rule out > that it is a bacula issue and not just a bacularis one. > > -- > Med vänlig hälsning > > Anders Gustafsson, ingenjör > anders.gustafs...@pedago.fi | Support +358 18 12060 | Direkt +358 9 > 315 45 121 | Mobil +358 40506 7099 > > Pedago interaktiv ab, Nygatan 7 B , AX-22100 MARIEHAMN, ÅLAND, FINLAND > > > > >>> "Stefan G. Weichinger" 2024-04-09 08:06 >>> > > I am in the process of installing and configuring Bacula-13.0.4 and > Bacularis-2.7.0 on a Debian-12.5 server. > > (moving over from using Amanda, I might ask a few questions around that > soon) > > What I noticed: when I access "Restore" in Bacularis, there are files > displayed with strange chars instead of the correct german special chars > or "Umlauts". > > That's something I would like to get correct from the start. > > I installed from the deb-packages and use postgresql as database. > > Didn't notice any specific choice of charsets or so. > > Does that maybe come from the language I chose for Bacularis? > > Right now I have it in english ... > > pls advise, thanks, Stefan > > > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > ___ > 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
Re: [Bacula-users] connecting bacularis to an existing bacula setup
Hello Steven, Yes, web servers by default listen on port 80 but it is possible to change. Bacularis uses only one port 9097. I mean that after installing Bacularis with the web server, you can just disable listening on port 80 or change it to any other port number. Best regards, Marcin Haba (gani) On Tue, 9 Apr 2024 at 06:29, steven wrote: > Hi, > > It will not run on bare metal as it tries to run on port80, but I have > apache containers on port 80 and 443 already which was why I went for a > docker container to isolate bacularis that runs on 9097 OK but the wizard > lacks connectivity to bacula. > regards > > Steven > > On 9/04/2024 2:16 pm, Marcin Haba wrote: > > Hello Steven, > > Bacularis API and Bacularis Web are one application called just Bacularis. > So, as I see you already have it. > > In the installation wizard there is possible to choose if you want to > configure API or Web or both (typical case). After installation you need > just to go to: > > http://yourhost:9097 > > Best regards, > Marcin Haba (gani) > > On Tue, 9 Apr 2024 at 01:15, Thing wrote: > >> Google it seems does not like my email server...lets try again, sorry if >> we get a duplicate. >> >> Hi, >> >> I dont see a bacualris API to install? >> >> root@bacula:~# dpkg -l bacula* >> Desired=Unknown/Install/Remove/Purge/Hold >> | >> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend >> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) >> ||/ Name VersionArchitecture Description >> >> +++--==--= >> ii bacula-bscan 9.6.7-7amd64network backup >> service - bscan tool >> ii bacula-client9.6.7-7all network backup >> service - client metapackage >> ii bacula-common9.6.7-7amd64network backup >> service - common support files >> ii bacula-common-mysql 9.6.7-7amd64network backup >> service - MySQL common files >> un bacula-common-pgsql (no description >> available) >> un bacula-common-sqlite3(no description >> available) >> ii bacula-console 9.6.7-7amd64network backup >> service - text console >> ii bacula-director 9.6.7-7amd64network backup >> service - Director daemon >> un bacula-director-database (no description >> available) >> ii bacula-director-mysql9.6.7-7all network backup >> service - MySQL storage for Director >> un bacula-director-pgsql(no description >> available) >> un bacula-director-sqlite3 (no description >> available) >> un bacula-doc (no description >> available) >> ii bacula-fd9.6.7-7amd64network backup >> service - file daemon >> ii bacula-sd9.6.7-7amd64network backup >> service - storage daemon >> un bacula-sd-mysql (no description >> available) >> un bacula-sd-pgsql (no description >> available) >> un bacula-sd-sqlite3(no description >> available) >> ii bacula-server9.6.7-7all network backup >> service - server metapackage >> ii bacularis2.7.0~bullseye all The Bacularis >> WebGUI enables administration and managing Bacula jobs. >> ii bacularis-apache22.7.0~bullseye all This package >> provides the Apache configuration for Bacularis. >> un bacularis-lighttpd (no description >> available) >> un bacularis-nginx (no description >> available) >> root@bacula:~# >> >> >> I am finding the naming convention /description difficult to understand. >> So, I have a bacularis web container running. It appears I need something >> between the container and the director? but I cannot see what. >> >> regards >> >> Steven >> >> On Tue, 9 Apr 2024 at 05:17, Marcin Haba wrote: >> >>> Hello Steven, >>> >>> Of course, you don't need to uninstall anything. Bacula daemons stay >>> where they are. Don't worry, nothing changes here. >>> >>> In that container image description is a sentence: >>> >>> "I
Re: [Bacula-users] Install.sh error trying to install manually Bacularis
Hello Neil, I have checked installing Bacularis on FreeBSD and I have one more note. By default in Apache is used PHP as Apache module. If you want to use it this way, it is fine. Nothing else to do. If you will need to use PHP through PHP-FPM, then you need to do a few changes in your httpd.conf to disable the Apache PHP module and enable PHP-FPM. First, you need to disable/comment the MPM Prefork module and libphp: #LoadModule mpm_prefork_module libexec/apache24/mod_mpm_prefork.so #LoadModule php_module libexec/apache24/libphp.so and enable/uncomment these modules: LoadModule mpm_event_module libexec/apache24/mod_mpm_event.so LoadModule proxy_module libexec/apache24/mod_proxy.so LoadModule proxy_fcgi_module libexec/apache24/mod_proxy_fcgi.so Then you need to add these lines to the same httpd.conf: SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 SetHandler "proxy:unix:/tmp/php-fpm.sock|fcgi://localhost/" At the end in /usr/local/etc/php-fpm.d/www.conf you need to set permissions for PHP-FPM unix socket: listen.owner = www listen.group = www listen.mode = 0660 and restart the services: # service php-fpm restart # service apache24 restart Best regards, Marcin Haba (gani) On Tue, 9 Apr 2024 at 04:54, Marcin Haba wrote: > Hello Neil, > > Thanks for your feedback with installing Bacularis on FreeBSD. > > It looks that in your environment this script uses the default FreeBSD > shell /bin/sh (or any other) that does not support arrays. > > This is the Bash script so to use it you need to install Bash: > > # pkg install bash > > After that you need to update shebang in the install.sh script to: > > #!/usr/local/bin/bash > > Once it is done, it should start working well. In case problems, please > let us know. > > Good luck! > > Best regards, > Marcin Haba (gani) > > On Tue, 9 Apr 2024 at 02:38, Neil Balchin wrote: > >> I’ve installed Bacula in a Freebsd Jail and all is well, Also installed >> Apache24, and the requisite php mods to run bacularis. >> >> I’ve followed the manual instructions to the letter but when I get to the >> install.sh step I get this error output : >> >> root@Bacula1:/usr/local/www/bacularis/protected/tools # sh ./install.sh >> -p /tmp/php-fpm.sock >> >> >> +===+ >> >> | Welcome in the Bacularis install script | >> >> +---+ >> >> | This script will help you to adjust privileges | >> >> | for Bacularis files and it will prepare | >> >> | configuration files for popular web servers. | >> >> +---+ >> >> >> >> ./install.sh: 34: Syntax error: word unexpected (expecting ")") >> >> root@Bacula1:/usr/local/www/bacularis/protected/tools # >> >> >> >> >> ___ >> 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 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Install.sh error trying to install manually Bacularis
Hello Neil, Thanks for your feedback with installing Bacularis on FreeBSD. It looks that in your environment this script uses the default FreeBSD shell /bin/sh (or any other) that does not support arrays. This is the Bash script so to use it you need to install Bash: # pkg install bash After that you need to update shebang in the install.sh script to: #!/usr/local/bin/bash Once it is done, it should start working well. In case problems, please let us know. Good luck! Best regards, Marcin Haba (gani) On Tue, 9 Apr 2024 at 02:38, Neil Balchin wrote: > I’ve installed Bacula in a Freebsd Jail and all is well, Also installed > Apache24, and the requisite php mods to run bacularis. > > I’ve followed the manual instructions to the letter but when I get to the > install.sh step I get this error output : > > root@Bacula1:/usr/local/www/bacularis/protected/tools # sh ./install.sh > -p /tmp/php-fpm.sock > > > +===+ > > | Welcome in the Bacularis install script | > > +---+ > > | This script will help you to adjust privileges | > > | for Bacularis files and it will prepare | > > | configuration files for popular web servers. | > > +---+ > > > > ./install.sh: 34: Syntax error: word unexpected (expecting ")") > > root@Bacula1:/usr/local/www/bacularis/protected/tools # > > > > > ___ > 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
Re: [Bacula-users] connecting bacularis to an existing bacula setup
Hello Steven, Bacularis API and Bacularis Web are one application called just Bacularis. So, as I see you already have it. In the installation wizard there is possible to choose if you want to configure API or Web or both (typical case). After installation you need just to go to: http://yourhost:9097 Best regards, Marcin Haba (gani) On Tue, 9 Apr 2024 at 01:15, Thing wrote: > Google it seems does not like my email server...lets try again, sorry if > we get a duplicate. > > Hi, > > I dont see a bacualris API to install? > > root@bacula:~# dpkg -l bacula* > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name VersionArchitecture Description > > +++--==--= > ii bacula-bscan 9.6.7-7amd64network backup > service - bscan tool > ii bacula-client9.6.7-7all network backup > service - client metapackage > ii bacula-common9.6.7-7amd64network backup > service - common support files > ii bacula-common-mysql 9.6.7-7amd64network backup > service - MySQL common files > un bacula-common-pgsql (no description > available) > un bacula-common-sqlite3(no description > available) > ii bacula-console 9.6.7-7amd64network backup > service - text console > ii bacula-director 9.6.7-7amd64network backup > service - Director daemon > un bacula-director-database (no description > available) > ii bacula-director-mysql9.6.7-7all network backup > service - MySQL storage for Director > un bacula-director-pgsql(no description > available) > un bacula-director-sqlite3 (no description > available) > un bacula-doc (no description > available) > ii bacula-fd9.6.7-7amd64network backup > service - file daemon > ii bacula-sd9.6.7-7amd64network backup > service - storage daemon > un bacula-sd-mysql (no description > available) > un bacula-sd-pgsql (no description > available) > un bacula-sd-sqlite3(no description > available) > ii bacula-server9.6.7-7all network backup > service - server metapackage > ii bacularis2.7.0~bullseye all The Bacularis > WebGUI enables administration and managing Bacula jobs. > ii bacularis-apache22.7.0~bullseye all This package > provides the Apache configuration for Bacularis. > un bacularis-lighttpd (no description > available) > un bacularis-nginx (no description > available) > root@bacula:~# > > > I am finding the naming convention /description difficult to understand. > So, I have a bacularis web container running. It appears I need something > between the container and the director? but I cannot see what. > > regards > > Steven > > On Tue, 9 Apr 2024 at 05:17, Marcin Haba wrote: > >> Hello Steven, >> >> Of course, you don't need to uninstall anything. Bacula daemons stay >> where they are. Don't worry, nothing changes here. >> >> In that container image description is a sentence: >> >> "It can be used to connect external Bacularis API server(s) in containers >> or outside them." >> >> This "outside them" means that you can install Bacularis API in any way >> that you want, Docker image is only one of the ways. >> >> Reading your description for that, what you would like to have, the >> easiest is to install only one Bacularis using binary packages on the >> Bacula Director host. It contains the Bacularis Web and Bacularis API >> together, so you don't need to split it or install anything else, just this >> one Bacularis instance. The installation wizard, that you will see after >> installing, will lead you on all the configuration process. >> >> In case problems or questions, please let us know. Thanks! >> >> Best regards, >> Marcin Haba (gani) >> >> On Mon, 8 Apr 2024 at 09:22, steven wrote: >> >>> hi, >>> >>> Ok I am confused. The way I read it, >>> >>> - for File Daemons bacularis-api-fd, >
Re: [Bacula-users] connecting bacularis to an existing bacula setup
Hello Steven, Of course, you don't need to uninstall anything. Bacula daemons stay where they are. Don't worry, nothing changes here. In that container image description is a sentence: "It can be used to connect external Bacularis API server(s) in containers or outside them." This "outside them" means that you can install Bacularis API in any way that you want, Docker image is only one of the ways. Reading your description for that, what you would like to have, the easiest is to install only one Bacularis using binary packages on the Bacula Director host. It contains the Bacularis Web and Bacularis API together, so you don't need to split it or install anything else, just this one Bacularis instance. The installation wizard, that you will see after installing, will lead you on all the configuration process. In case problems or questions, please let us know. Thanks! Best regards, Marcin Haba (gani) On Mon, 8 Apr 2024 at 09:22, steven wrote: > hi, > > Ok I am confused. The way I read it, > > - for File Daemons bacularis-api-fd, > - for Storage Daemons bacularis-api-sd, > - for Directors bacularis-api-dir. > > All have the particular bacula daemon built in?I dont need a daemon, I > already have all the daemons running and have been for 6 odd years now. > What I was hoping for was to have a web interface on top of Bacula. > The docker container is running on the bacula director so it is local > stuff. So I have to remove the bacula-director and add in the > bacularis-api-dir instead? > > If I need to do serious alterations to the running setup, that is a step > to far for me. > > > regards > > Steven > On 8/04/2024 7:07 pm, Marcin Haba wrote: > > Hello Steven, > > Thanks for your question and feedback after installing the bacularis-web > container. I will try to explain it below. > > For your question if the Bacularis Web wizard wants a Bacularis API - yes > Bacularis Web in this container connects to external Bacularis API. > Description and purpose of each of these container images you can find in > the "About this image" section in each of the Bacularis Docker Hub > repositories. This description for the 'bacularis-web' container is the > following: > > > It contains a pure the Bacularis web interface without API layer. It can > be used to connect external Bacularis API server(s) in containers or > outside them. If you would like to connect Bacularis API ran in containers, > you can use dedicated for this purpose images: > > - for File Daemons bacularis-api-fd, > - for Storage Daemons bacularis-api-sd, > - for Directors bacularis-api-dir. > > > The Bacularis Web to work needs at least one API host with bconsole and > catalog access (and Bacula configuration capability if needed). So you can > set up the Bacularis API in any way (installing binary packages, container, > Composer, tar archives) and then connect it using the wizard from the > bacularis-web container. > > Worth mentioning is that for the Bacula configuration part Bacularis API > needs access to Bacula config files so easier is to work with Bacularis API > instances outside the container. Otherwise you need to bind the Bacula > configuration paths to Bacularis API container or use Bacula config files > from Bacula in container. > > Your question also indicated me that this first step section needs to be > better explained in the documentation. I will try to prepare it soon. > > Thanks! > > Best regards, > Marcin Haba (gani) > > On Mon, 8 Apr 2024 at 07:16, steven wrote: > >> Hi, >> >> Seeing the release I thought I would give bacularis a go.I have the >> bacularis-web docker container running but I cant see any documentation >> telling me how to connect it to my existing bacula setup. >> >> The wizard wants a baculum API? but this isnt explained. >> >> Is there any set by set explanation of how to connect the bacularis-web >> docker container to an existing bacula setup ? >> >> >> TY >> >> >> >> ___ >> 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 > -- "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
Re: [Bacula-users] New release Bacularis 2.7.0
Hello Unkdef, In this case it might be good to do the catalog database tuning. For your MySQL database there is a great tool called MySQLTuner. You can find it here: https://github.com/major/MySQLTuner-perl Please follow on the advices given by MySQLTuner. Best regards, Marcin Haba (gani) On Mon, 8 Apr 2024 at 15:38, Unkdef unkdef wrote: > So, i update bacula to 15.0.2 and bacularis 2.7.0 but problem with slow > loading web interface exists. how to fix it ? > > > Marcin Haba 7 апреля 2024 г. 22:31:03 написал: > >> Hello Everybody, >> >> We are pleased to announce a new Bacularis version 2.7.0. This is a new >> feature and bug fix release. It provides two new functions: the network >> test between file daemon and storage daemon and also the advanced sudo >> settings. >> >> From the bug fixes side we fixed a few important bugs. >> >> New functions in 2.7.0: >> - Network test: https://www.youtube.com/watch?v=zmxYW-eMkCo >> >> Useful links: >> Release announcement: >> https://bacularis.app/news/76/36/New-release-Bacularis-2.7.0 >> Documentation: https://bacularis.app/doc >> Online demo: https://demo.bacularis.app >> >> As always binary packages 2.7.0 for popular Linux distributions are >> available already in the package repositories. Docker container images >> 2.7.0 are available in the Docker Hub repositories. >> >> We wish you successful installations and upgrades. >> >> On behalf of the Bacularis Team >> Marcin Haba (gani) >> >> -- >> >> "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 >> >> > -- "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
Re: [Bacula-users] connecting bacularis to an existing bacula setup
Hello Steven, Thanks for your question and feedback after installing the bacularis-web container. I will try to explain it below. For your question if the Bacularis Web wizard wants a Bacularis API - yes Bacularis Web in this container connects to external Bacularis API. Description and purpose of each of these container images you can find in the "About this image" section in each of the Bacularis Docker Hub repositories. This description for the 'bacularis-web' container is the following: It contains a pure the Bacularis web interface without API layer. It can be used to connect external Bacularis API server(s) in containers or outside them. If you would like to connect Bacularis API ran in containers, you can use dedicated for this purpose images: - for File Daemons bacularis-api-fd, - for Storage Daemons bacularis-api-sd, - for Directors bacularis-api-dir. The Bacularis Web to work needs at least one API host with bconsole and catalog access (and Bacula configuration capability if needed). So you can set up the Bacularis API in any way (installing binary packages, container, Composer, tar archives) and then connect it using the wizard from the bacularis-web container. Worth mentioning is that for the Bacula configuration part Bacularis API needs access to Bacula config files so easier is to work with Bacularis API instances outside the container. Otherwise you need to bind the Bacula configuration paths to Bacularis API container or use Bacula config files from Bacula in container. Your question also indicated me that this first step section needs to be better explained in the documentation. I will try to prepare it soon. Thanks! Best regards, Marcin Haba (gani) On Mon, 8 Apr 2024 at 07:16, steven wrote: > Hi, > > Seeing the release I thought I would give bacularis a go.I have the > bacularis-web docker container running but I cant see any documentation > telling me how to connect it to my existing bacula setup. > > The wizard wants a baculum API? but this isnt explained. > > Is there any set by set explanation of how to connect the bacularis-web > docker container to an existing bacula setup ? > > > TY > > > > ___ > 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
[Bacula-users] New release Bacularis 2.7.0
Hello Everybody, We are pleased to announce a new Bacularis version 2.7.0. This is a new feature and bug fix release. It provides two new functions: the network test between file daemon and storage daemon and also the advanced sudo settings. >From the bug fixes side we fixed a few important bugs. New functions in 2.7.0: - Network test: https://www.youtube.com/watch?v=zmxYW-eMkCo Useful links: Release announcement: https://bacularis.app/news/76/36/New-release-Bacularis-2.7.0 Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app As always binary packages 2.7.0 for popular Linux distributions are available already in the package repositories. Docker container images 2.7.0 are available in the Docker Hub repositories. We wish you successful installations and upgrades. On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] baculum + bacula 13.0.4 slow web interface
Hello Unkdef, Yes, it does. As Rob mentioned, Bacularis is based on Baculum that supports Russian translations too. The translations are there thanks to Sergey Zhidkov who prepared them. Best regards, Marcin Haba (gani) On Sun, 7 Apr 2024 at 10:50, Unkdef unkdef wrote: > > ok i try bacularis > does bacularis support russian language interface? > > Rob Gerber 7 апреля 2024 г. 01:24:27 написал: > >> Unkdef, one important thing to know is that Bacularis is a friendly fork >> of baculum. It's very similar, and Marcin has been actively maintaining it. >> Marcin is also a baculum developer. >> >> Basically, Bacularis is the better, more optimized tool. >> >> This doesn't mean that the source of your problem is certainly baculum, >> but trying the actively maintained and more optimized tool Bacularis is >> certainly a good first step. :) >> >> Bacularis is available in docker containers if you want to simply load a >> container and give it a try. It is naturally available for bare metal >> installations as well. >> >> Https://bacularis.app >> >> Robert Gerber >> 402-237-8692 >> r...@craeon.net >> >> On Sat, Apr 6, 2024, 12:56 PM Unkdef unkdef >> wrote: >> >>> i use only 45 backup jobs a day... >>> >>> Marcin Haba 6 апреля 2024 г. 20:14:30 написал: >>> >>>> Hello Unkdef, >>>> >>>> Yes, Baculum 11.0.6 is a bit old and can be a little slow, specially >>>> for many jobs and MySQL. There exists a couple of techniques to speed it up >>>> like described here: >>>> >>>> >>>> https://baculum.app/doc/brief/troubleshooting.html#the-baculum-job-tables-are-loading-slowly >>>> >>>> or here: >>>> >>>> >>>> https://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg72737.html >>>> >>>> If I could suggest something, I would propose to try Bacularis that is >>>> much faster and contains significant optimizations. >>>> >>>> Best regards, >>>> Marcin Haba (gani) >>>> >>>> On Fri, 5 Apr 2024 at 09:07, Unkdef unkdef >>>> wrote: >>>> >>>>> Hello! I use bacula 13.0.4(mysql) and baculum 11.0.6 on Ubuntu 22.04 >>>>> Problem: When I refresh page in baculum i wait 10-15 sec before i see >>>>> information of backups and other... how to fix it? >>>>> ___ >>>>> 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 >>> >> > -- "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
Re: [Bacula-users] baculum + bacula 13.0.4 slow web interface
Hello Unkdef, Yes, Baculum 11.0.6 is a bit old and can be a little slow, specially for many jobs and MySQL. There exists a couple of techniques to speed it up like described here: https://baculum.app/doc/brief/troubleshooting.html#the-baculum-job-tables-are-loading-slowly or here: https://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg72737.html If I could suggest something, I would propose to try Bacularis that is much faster and contains significant optimizations. Best regards, Marcin Haba (gani) On Fri, 5 Apr 2024 at 09:07, Unkdef unkdef wrote: > Hello! I use bacula 13.0.4(mysql) and baculum 11.0.6 on Ubuntu 22.04 > Problem: When I refresh page in baculum i wait 10-15 sec before i see > information of backups and other... how to fix it? > ___ > 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
Re: [Bacula-users] [Bacularis/Baculum] Restore with web doesn't create job before 1 hour
Hello Timothé, Thanks for providing all details about this restore problem. I did tests on a set of 150K files with old Bacula 9.0.6 and the latest 15.0.2. It looks that something has changed in Bacula MySQL/MariaDB support in a version between because on the version 9 it works well, while on 15 it hangs on the restore commands. Your restore using bconsole can work much better because it does not use Bacula Bvfs interface. I will try to look at it deeper in the next few days. I will let know if I find something. Best regards, Marcin Haba (gani) On Thu, 4 Apr 2024 at 16:14, timothe pennec wrote: > Hi, > > I'm using mariadb for database and it's him seems to be slow : > top result : > > top - 16:08:51 up 2 days, 20:10, 6 users, load average: 0,97, 0,60, 0,29 > Tasks: 307 total, 1 running, 306 sleeping, 0 stopped, 0 zombie > %Cpu(s): 12,5 us, 0,0 sy, 0,0 ni, 87,3 id, 0,0 wa, 0,0 hi, 0,2 si, > 0,0 st > MiB Mem : 7936,5 total,177,7 free,592,8 used, 7166,1 buff/cache > MiB Swap: 4096,0 total, 4095,0 free, 1,0 used. 7026,5 avail Mem > PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND > 29267 mysql 20 0 1346196 142604 23396 S 100,0 1,8 2:53.58 > mariadbd > > I've 8 vCPU but only one is at 100 % (can see it with htop) all other at 0. > > I've enabled debug level 500 and i can see many log right after submit > button "Run" and stuck at : > > bacula-dir: ua_restore.c:2015-0 JobId=4792 JobIds= FileIndex=10 > [All 53000 files ...] > bacula-dir: ua_restore.c:2015-0 JobId=4792 JobIds= FileIndex=53895 > bacula-dir: ua_restore.c:2015-0 JobId=4792 JobIds= FileIndex=53896 > bacula-dir: mysql.c:584-0 db_sql_query finished > bacula-dir: ua_restore.c:1476-0 query=SELECT Path.Path, File.Filename FROM > File JOIN Path USING (PathId) JOIN b210091 AS T ON (File.JobId = T.JobId > AND File.FileIndex = T.FileIndex) WHERE File.Filename LIKE > ':component_info_%' AND File.JobId IN (4792) > bacula-dir: mysql.c:527-0 db_sql_query starts with SELECT Path.Path, > File.Filename FROM File JOIN Path USING (PathId) JOIN b210091 AS T ON > (File.JobId = T.JobId AND File.FileIndex = T.FileIndex) WHERE File.Filename > LIKE ':component_info_%' AND File.JobId IN (4792) > > > Any idea ? > > Thank you > Timothé > > -- > *De :* Marcin Haba > *Envoyé :* mercredi 3 avril 2024 21:53 > *À :* timothe pennec > *Cc :* bacula-users@lists.sourceforge.net < > bacula-users@lists.sourceforge.net> > *Objet :* Re: [Bacula-users] [Bacularis/Baculum] Restore with web doesn't > create job before 1 hour > > Hello Timothé, > > Thanks for your detailed description of the problem. > > For start I would propose to check what is going inside Bacula and the > Catalog when this restore is trying to start. > > Yes, observing 'ps aux' is a good idea, that you did. Also useful can be > 'top' command with watching what process takes the most resources. > > From the Bacula side you can set debug for Director by this bconsole > command: > > setdebug level=500 tags=bvfs,sql trace=1 dir > > in the Bacula Director working directory you will see the > youdirector-dir.trace file where this debug lines will be written. > > If your Catalog database is PostgreSQL you ran run in the time of the > restore hanging this SQL query to see currently pending SQL queries: > > SELECT * FROM pg_stat_activity; > > Please let us know about the results. > > Good luck. > > Best regards, > Marcin Haba (gani) > > On Wed, 3 Apr 2024 at 20:40, timothe pennec wrote: > > Hi everyone, > > I've one issue with Bacularis (and same with Baculum) WEB when i follow > the restore wizzard : > >- I select my client and let checked "Enable restore from copy job >feature" >- I select the Last full Backup of my client >- I select one folder with add button (total of files about 55 000 and >total syse about 4Go) >- I select the same client and "/tm/restore" folder for testing >- I let default setting for Restore job (RestoreFiles and no replace >file and no relocate files) >- I submit with "Run restore" > > > When i submit nothing happen (i got only "loading" favicon and not > redirect or validation message for create job). > At the same time if i open new tab to default web page it seems the server > not responding for a while and after a time the page loaded for the default > tab and error "504 Gateway timeout" for restore tab > If i ssh and launch bconsole and enter "status director" i can see that no > job was created (terminated or running or whatever state). > > Here a "ps au
Re: [Bacula-users] [Bacularis/Baculum] Restore with web doesn't create job before 1 hour
Hello Timothé, Thanks for your detailed description of the problem. For start I would propose to check what is going inside Bacula and the Catalog when this restore is trying to start. Yes, observing 'ps aux' is a good idea, that you did. Also useful can be 'top' command with watching what process takes the most resources. >From the Bacula side you can set debug for Director by this bconsole command: setdebug level=500 tags=bvfs,sql trace=1 dir in the Bacula Director working directory you will see the youdirector-dir.trace file where this debug lines will be written. If your Catalog database is PostgreSQL you ran run in the time of the restore hanging this SQL query to see currently pending SQL queries: SELECT * FROM pg_stat_activity; Please let us know about the results. Good luck. Best regards, Marcin Haba (gani) On Wed, 3 Apr 2024 at 20:40, timothe pennec wrote: > Hi everyone, > > I've one issue with Bacularis (and same with Baculum) WEB when i follow > the restore wizzard : > >- I select my client and let checked "Enable restore from copy job >feature" >- I select the Last full Backup of my client >- I select one folder with add button (total of files about 55 000 and >total syse about 4Go) >- I select the same client and "/tm/restore" folder for testing >- I let default setting for Restore job (RestoreFiles and no replace >file and no relocate files) >- I submit with "Run restore" > > > When i submit nothing happen (i got only "loading" favicon and not > redirect or validation message for create job). > At the same time if i open new tab to default web page it seems the server > not responding for a while and after a time the page loaded for the default > tab and error "504 Gateway timeout" for restore tab > If i ssh and launch bconsole and enter "status director" i can see that no > job was created (terminated or running or whatever state). > > Here a "ps aux | grep bconsole" at this time : > www-data 21059 0.0 0.0 2892 964 ?S19:45 0:00 sh -c > sudo /usr/bin/bconsole -c "/etc/bacula/bconsole.conf" -D bacula-dir 2>&1 > < replace="never" restorejob="RestoreFiles" where="/tmp/restore" yes quit > END_OF_DATA > root 21060 0.0 0.0 8488 5228 ?S19:45 0:00 sudo > /usr/bin/bconsole -c /etc/bacula/bconsole.conf -D bacula-dir > root 21061 0.0 0.1 165928 10516 ?Sl 19:45 0:00 > /usr/bin/bconsole -c /etc/bacula/bconsole.conf -D bacula-dir > > I'm running with bacula 15.0.2 with apt for server and clients all in > Ubuntu 22.04 > The result of "tail -f /opt/bacula/log/bacula.log" is empty for all > process. > > For about 50min / 70 min nothing happen then i got job created ! > > For exemple the log for the test run at 17:03 (job created at 18:00 and > all file copied in < 1 min) > > bacula-dir JobId 4831: End auto prune. > bacula-dir JobId 4831: No Files found to prune. > bacula-dir JobId 4831: Begin pruning Files. > bacula-dir JobId 4831: No Jobs found to prune. > bacula-dir JobId 4831: Begin pruning Jobs older than 6 months . > bacula-dir JobId 4831: Bacula bacula-dir 15.0.2 (21Mar24): > Build OS: x86_64-pc-linux-gnu-bacula ubuntu 22.04 > JobId: 4831 > Job:RestoreFiles.2024-04-02_18.00.36_48 > Restore Client: "www.example.org" 15.0.2 (21Mar24) > x86_64-pc-linux-gnu-bacula,ubuntu,22.04 > Where: /tmp/restore > Replace:Never > Start time: 02-avril-2024 18:00:38 > End time: 02-avril-2024 18:01:19 > Elapsed time: 41 secs > Files Expected: 53,888 > Files Restored: 53,888 > Bytes Restored: 4,066,211,495 (4.066 GB) > Rate: 99175.9 KB/s > FD Errors: 0 > FD termination status: OK > SD termination status: OK > Termination:Restore OK > bacula-sd JobId 4831: Elapsed time=00:00:41, Transfer rate=99.38 M > Bytes/second > bacula-sd JobId 4831: Forward spacing Volume "Monthlyvol-0017" to > addr=22149617617 > bacula-sd JobId 4831: Ready to read from volume "Monthlyvol-0017" on File > device "FileStorage" (/backup). > wwwexampleorg-fd JobId 4831: Connected to Storage at > bacula.esx2.example.org:9103 with TLS > bacula-dir JobId 4831: Connected to Client "www.example.org" at > 2001:41d0:303:f006::3:9102 with TLS > bacula-dir JobId 4831: Using Device "FileStorage" to read. > bacula-dir JobId 4831: Connected to Storage > "bacula.esx2.example.org_back
Re: [Bacula-users] Bacularis API host initial setup with postgresql and bacula.
Hello Rob, Bacularis is not able to use the peer authentication method easily because it is authentication that is based on system users. In this case the Bacularis PHP user usually is different from the default Bacula database user. In your case I think if you want you can stay in the peer method for Bacula connections and add a line in pg_hba.conf to TCP/IP connections for Bacularis. Something like: # "local" is for Unix domain socket connections only (for Bacula) local all all peer # IPv4 local connections (for Bacularis): hostall all 127.0.0.1/32 scram-sha-256 The only thing to do is to set password for your 'bacula' user: ALTER USER bacula WITH PASSWORD 'STRONG_PASSWORD'; This password will be used for TCP/IP connections but Bacula will not need it. Best regards, Marcin Haba (gani) On Wed, 3 Apr 2024 at 17:27, Rob Gerber wrote: > Marcin, > > Thank you for the very quick response! I will experiment with this when I > have some time. > > I am guessing because I've never configured a password for the bacula > database, and based on my pg_hba.conf, that bacula is authenticating to the > database server via peer connections, so bacula doesn't need a password to > access the database (in my default configuration). This detail kind of > stumped me at first. Please let me know if you think this is incorrect. My > original fear was that resetting the database password would lock bacula > out of the database. > > Robert Gerber > 402-237-8692 > r...@craeon.net > > On Tue, Apr 2, 2024, 11:40 PM Marcin Haba wrote: > >> Hello Rob, >> >> At the moment I prepared a section about the authentication methods in >> the Bacularis documentation. You can read it here: >> >> >> https://bacularis.app/doc/brief/configuration.html#bacula-catalog-database-access >> >> Best regards, >> Marcin Haba (gani) >> >> On Wed, 3 Apr 2024 at 04:51, Marcin Haba wrote: >> >>> Hello Rob, >>> >>> Thanks for your question. >>> >>> As the authentication method in PostgreSQL pg_hba.conf you can use >>> scram-sha-256 This method is available starting from PostgreSQL 10. >>> >>> For the Bacularis documentation, yes, it looks to be missing there. I >>> will add to the doc this section about configuring the Catalog Database >>> access in Bacularis. Thanks for pointing it. >>> >>> Best regards, >>> Marcin Haba (gani) >>> >>> On Wed, 3 Apr 2024 at 00:50, Rob Gerber wrote: >>> >>>> I have previously set up bacula and bacularis on Rocky Linux 9. At the >>>> time I ran into issues giving bacularis access to bacula's postgresql >>>> database. I didn't know the bacula database password. At that time I set >>>> the postgresql pg_hba.conf file to use "trust". However I am concerned that >>>> this isn't a good security best practice. >>>> >>>> I am setting up a second bacula / Bacularis system and I'd like to >>>> revisit this postgres authentication issue so I can follow best practice >>>> better. >>>> >>>> The bacularis documentation doesn't make it clear how I am supposed to >>>> authenticate bacularis to bacula's database. >>>> >>>> I suspect there is a process that is obvious to many others and not to >>>> me. >>>> >>>> Does anyone here have suggestions for how I might authenticate >>>> bacularis to the bacula database? >>>> >>>> Robert Gerber >>>> 402-237-8692 >>>> r...@craeon.net >>>> ___ >>>> 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
Re: [Bacula-users] Bacularis API host initial setup with postgresql and bacula.
Hello Rob, At the moment I prepared a section about the authentication methods in the Bacularis documentation. You can read it here: https://bacularis.app/doc/brief/configuration.html#bacula-catalog-database-access Best regards, Marcin Haba (gani) On Wed, 3 Apr 2024 at 04:51, Marcin Haba wrote: > Hello Rob, > > Thanks for your question. > > As the authentication method in PostgreSQL pg_hba.conf you can use > scram-sha-256 This method is available starting from PostgreSQL 10. > > For the Bacularis documentation, yes, it looks to be missing there. I will > add to the doc this section about configuring the Catalog Database access > in Bacularis. Thanks for pointing it. > > Best regards, > Marcin Haba (gani) > > On Wed, 3 Apr 2024 at 00:50, Rob Gerber wrote: > >> I have previously set up bacula and bacularis on Rocky Linux 9. At the >> time I ran into issues giving bacularis access to bacula's postgresql >> database. I didn't know the bacula database password. At that time I set >> the postgresql pg_hba.conf file to use "trust". However I am concerned that >> this isn't a good security best practice. >> >> I am setting up a second bacula / Bacularis system and I'd like to >> revisit this postgres authentication issue so I can follow best practice >> better. >> >> The bacularis documentation doesn't make it clear how I am supposed to >> authenticate bacularis to bacula's database. >> >> I suspect there is a process that is obvious to many others and not to me. >> >> Does anyone here have suggestions for how I might authenticate bacularis >> to the bacula database? >> >> Robert Gerber >> 402-237-8692 >> r...@craeon.net >> ___ >> 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 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacularis API host initial setup with postgresql and bacula.
Hello Rob, Thanks for your question. As the authentication method in PostgreSQL pg_hba.conf you can use scram-sha-256 This method is available starting from PostgreSQL 10. For the Bacularis documentation, yes, it looks to be missing there. I will add to the doc this section about configuring the Catalog Database access in Bacularis. Thanks for pointing it. Best regards, Marcin Haba (gani) On Wed, 3 Apr 2024 at 00:50, Rob Gerber wrote: > I have previously set up bacula and bacularis on Rocky Linux 9. At the > time I ran into issues giving bacularis access to bacula's postgresql > database. I didn't know the bacula database password. At that time I set > the postgresql pg_hba.conf file to use "trust". However I am concerned that > this isn't a good security best practice. > > I am setting up a second bacula / Bacularis system and I'd like to revisit > this postgres authentication issue so I can follow best practice better. > > The bacularis documentation doesn't make it clear how I am supposed to > authenticate bacularis to bacula's database. > > I suspect there is a process that is obvious to many others and not to me. > > Does anyone here have suggestions for how I might authenticate bacularis > to the bacula database? > > Robert Gerber > 402-237-8692 > r...@craeon.net > ___ > 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
[Bacula-users] New release Bacularis 2.6.0
Hello Everybody, We are pleased to announce a new Bacularis version 2.6.0. This is a new feature and bug fix release. In this version we are providing the data views function that enables to define own views with own filters for job, client, storage, pool and volume pages. This function significantly helps to organize the web interface and tailor it to your needs. We encourage to watch a video guide that explains it. Link to the guide you can find below. Second change in this new release is making consistent default sorting for data selection lists. Now Bacularis uses natural case-insensitive sorting order. From the fixes side we fixed current bugs reported by the Community. At the end we added some general minor improvements. More detailed information you can find in the changelog. We would like to thank you to everybody involved in reporting problems with Bacularis, preparing translations, requesting ideas or helping in any other way. Every this help is important for us. We are not capable to do everything at once, but we are progressing. New functions in 2.6.0: - Data views: https://www.youtube.com/watch?v=s4VLPIuPTKs Useful links: Release announcement: https://bacularis.app/news/74/36/New-release-Bacularis-2.6.0/d,Bacularis%20news%20details Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app As always binary packages 2.6.0 for popular Linux distributions are available already in the package repositories. Docker container images 2.6.0 are available in the Docker Hub repositories. We wish you good installations and upgrades. On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] backing up cifs-shares
Hello Stefan, After adding the www-data to the bacula group you need to restart php-fpm and web server services. Here you can find more information about possible ways to solve this error: https://bacularis.app/doc/brief/troubleshooting.html#permission-denied-error-when-saving-bacula-configuration Good luck! Best regards, Marcin Haba (gani) On Tue, 27 Feb 2024 at 12:20, Stefan G. Weichinger wrote: > > > It seems to have worked now ... for the first windows-client. > > I am in the process of removing the older release and baculum. > > Earlier config was in "/etc/bacula", now the path seems to be > "/opt/bacula/etc" > > I moved the configs, adjusted paths ... also in the API Panel. > > Things are *read* ok, but now I can't edit configs -> permission errors > > - > > /opt/bacula# ls -l etc/ > insgesamt 28 > -rw-rw-r-- 1 bacula bacula 7434 27. Feb 12:11 bacula-dir.conf > -rw-rw-r-- 1 bacula bacula 494 25. Feb 17:36 bacula-fd.conf > -rwxrw-rw- 1 bacula bacula 1136 24. Feb 17:21 bacula-fd.conf.dist > -rw-rw-r-- 1 bacula bacula 952 26. Feb 09:18 bacula-sd.conf > -rw-rw-r-- 1 bacula bacula 270 25. Feb 17:36 bconsole.conf > -rwxrw-rw- 1 bacula bacula 265 24. Feb 17:21 bconsole.conf.dist > > The sudo-conf: > > # cat /etc/sudoers.d/bacularis-api > Defaults:www-data !requiretty > www-data ALL = (root) NOPASSWD: /usr/bin/bconsole > > www-data ALL = (root) NOPASSWD: /opt/bacula/bin/bconsole > > www-data ALL = (root) NOPASSWD: /opt/bacula/scripts/mtx-changer > > www-data ALL = (root) NOPASSWD: /opt/bacula/bin/bdirjson > www-data ALL = (root) NOPASSWD: /opt/bacula/bin/bsdjson > www-data ALL = (root) NOPASSWD: /opt/bacula/bin/bfdjson > www-data ALL = (root) NOPASSWD: /opt/bacula/bin/bbconsjson > > I added "www-data" to the group "bacula" ... (Debian 12.5 here) > > > When I edit a Fileset and press "Save" -> > > Error Error 1000: Internal error. [Warning] > file_put_contents(/opt/bacula/etc/bacula-dir.conf): Failed to open > stream: Permission denied (@line 64 in file > /usr/share/bacularis/protected/vendor/bacularis/bacularis-common/Common/Modules/ConfigBacula.php). > > oh my > > > > ___ > 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
[Bacula-users] New release Bacularis 2.5.0
Hello Everybody, We are pleased to announce a new Bacularis 2.5.0. This is a new feature and bug fix release. We added capability to set read-only, read-write and no access permissions per Bacula configuration resource for users, hosts and host groups. It makes Bacularis granular permission control even more powerful and attractive. We also adapted Bacularis for a new coming Bacula 15 release that all Bacula version 9.6, 11.x, 13.x and now 15.x users will be able to use our Bacula web interface in their own Bacula environments. Besides that we added a pool filter to the volume list and fixed a couple of bugs reported by Community. Here you can find a video guide that presents the new main function in 2.5.0: - [MOVIE] Bacula resource permission settings - https://www.youtube.com/watch?v=ZuTsuGMEms8 Useful links: Release announcement: https://bacularis.app/news/70/36/New-release-Bacularis-2.5.0/d,Bacularis%20news%20details Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app As always new binary packages for popular Linux distributions are available already in the package repositories. Docker container images are available in the Docker Hub repositories. Have good installations and upgrades. On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] Bacula GUI projects
Hello Alexey, Thank you for letting us know that it started working. Great to hear. For Baculum, it is important to have disabled E_DEPRECATED and E_STRICT errors. Rest of the error types can stay enabled and they are even desirable to keep enabled for seeing when something is going wrong. On Tue, 6 Feb 2024 at 16:30, Alexey Chistyakov wrote: > Hello Marcin > > I didn’t have a php.ini file for the baculum api. > I created a php.ini file for the api with the correct error_reporting and > it was fixed. > Thank you! > But perhaps I may have new questions. > Yes, I encourage you to do so. We are here to help :-) Best regards, Marcin Haba (gani) > пт, 2 февр. 2024 г. в 04:05, Marcin Haba : > >> Hello Alexey, >> >> Thanks for your tests and new tries. >> >> I think it is technically impossible that disabled E_DEPRECATED error >> reporting in PHP config works well on the Baculum level. Theoretically It >> could happen when error_reporting is enabled back in PHP code but this type >> of function does not exist in Baculum nor in any Baculum dependency. >> >> On the screenshot that you sent in the previous message we can see that >> these errors are displayed in the window on the main page which means it >> happens on the remote side. So maybe you are looking at the wrong host? In >> this case you need to disable E_DEPRECATED on the Baculum API host. The >> current API host is displayed on the top right side of the Baculum Web >> interface in a combobox. >> >> Good luck. >> >> Best regards, >> Marcin Haba (gani) >> >> On Thu, 1 Feb 2024 at 12:54, Alexey Chistyakov >> wrote: >> >>> Hello! >>> >>> My php.ini file for Bacula is the same as for the interpreter: >>> [image: Untitled.png] >>> >>> Addition, I checked the error_reporting var, this var is equal to 22527 >>> (E_ALL >>> & ~E_DEPRECATED & ~E_STRICT). >>> Settings in the php.ini file work, but Baculum shows deprecated errors. >>> >>> чт, 1 февр. 2024 г. в 03:59, Marcin Haba : >>> >>>> Hello Alexey, >>>> >>>> Running php --ini displays php.ini file used by PHP command line >>>> interpreter, not by PHP that executes Baculum scripts. In FreeBSD by >>>> default PHP is used as Apache module (mod_php). >>>> >>>> To see what php.ini file is used with Baculum, you can put to >>>> /usr/local/www/baculum/htdocs/index.php calling phpinfo() function and >>>> exit() one line after starting the PHP block. Something like: >>>> >>>> >>> phpinfo(); >>>> exit(); >>>> >>>> After that please load the Baculum page. You will be able to see all >>>> PHP settings used by the PHP Apache module. >>>> >>>> Best regards, >>>> Marcin Haba (gani) >>>> >>>> On Wed, 31 Jan 2024 at 16:29, Alexey Chistyakov >>>> wrote: >>>> > >>>> > Error_reporting option doesn't work. Same output. >>>> > I checked my php.ini file with "php --ini" comand and saw this output: >>>> >> >>>> >> Configuration File (php.ini) Path: /usr/local/etc >>>> >> Loaded Configuration File: /usr/local/etc/php.ini >>>> >> Scan for additional .ini files in: /usr/local/etc/php >>>> >> Additional .ini files parsed: >>>> /usr/local/etc/php/ext-18-session.ini, >>>> >> /usr/local/etc/php/ext-20-ctype.ini, >>>> >> /usr/local/etc/php/ext-20-curl.ini, >>>> >> /usr/local/etc/php/ext-20-dom.ini, >>>> >> /usr/local/etc/php/ext-20-ldap.ini, >>>> >> /usr/local/etc/php/ext-20-xml.ini >>>> > >>>> > >>>> > After adding the "error_reporting = E_ALL & ~E_DEPRECATED & >>>> ~E_STRICT" line to the "/usr/local/etc/php.ini " file, nothing happened. >>>> > Apache restart command shows this output: >>>> >> >>>> >> [Wed Jan 31 18:16:04.065362 2024] [so:warn] [pid 2016] AH01574: >>>> module dir_module is already loaded, skipping >>>> >> [Wed Jan 31 18:16:04.083540 2024] [ssl:warn] [pid 2017] AH01873: >>>> Init: Session Cache is not configured [hint: SSLSessionCache] >>>> >> [Wed Jan 31 18:16:04.087244 2024] [mpm_prefork:notice] [pid 2017] >>>> AH00163: Apache/2.4.58 (FreeBSD) PHP/8.1.27 OpenSSL/1.1.1t-freebsd >>>> mod_auth_kerb/5.4 con
Re: [Bacula-users] Autochanger and Baculum
Hello Stefan, Thanks for describing to us the solution that you found for the autochanger management problem. Yes, Baculum needs to be capable to open this directory. Long time ago I prepared a chapter in the Baculum documentation about setting up autochanger with Baculum. I guess you have already read it, but maybe it will be helpful also for other users: https://baculum.app/doc/brief/configuration.html#autochanger-management On Tue, 6 Feb 2024 at 18:19, Stefan G. Weichinger wrote: > > I think I found the issue: > > the execute-permission was missing on "/etc/bacula" > > I can unload tapes now from baculum. > > testing things now > > I hope I haven't broken anything by editing everything ;-) You will see, but I am almost sure that you haven't broken anything :-D Best regards, Marcin Haba (gani) > thanks, Stefan > > > ___ > 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
Re: [Bacula-users] Bacula GUI projects
Hello Alexey, Thanks for your tests and new tries. I think it is technically impossible that disabled E_DEPRECATED error reporting in PHP config works well on the Baculum level. Theoretically It could happen when error_reporting is enabled back in PHP code but this type of function does not exist in Baculum nor in any Baculum dependency. On the screenshot that you sent in the previous message we can see that these errors are displayed in the window on the main page which means it happens on the remote side. So maybe you are looking at the wrong host? In this case you need to disable E_DEPRECATED on the Baculum API host. The current API host is displayed on the top right side of the Baculum Web interface in a combobox. Good luck. Best regards, Marcin Haba (gani) On Thu, 1 Feb 2024 at 12:54, Alexey Chistyakov wrote: > Hello! > > My php.ini file for Bacula is the same as for the interpreter: > [image: Untitled.png] > > Addition, I checked the error_reporting var, this var is equal to 22527 (E_ALL > & ~E_DEPRECATED & ~E_STRICT). > Settings in the php.ini file work, but Baculum shows deprecated errors. > > чт, 1 февр. 2024 г. в 03:59, Marcin Haba : > >> Hello Alexey, >> >> Running php --ini displays php.ini file used by PHP command line >> interpreter, not by PHP that executes Baculum scripts. In FreeBSD by >> default PHP is used as Apache module (mod_php). >> >> To see what php.ini file is used with Baculum, you can put to >> /usr/local/www/baculum/htdocs/index.php calling phpinfo() function and >> exit() one line after starting the PHP block. Something like: >> >> > phpinfo(); >> exit(); >> >> After that please load the Baculum page. You will be able to see all >> PHP settings used by the PHP Apache module. >> >> Best regards, >> Marcin Haba (gani) >> >> On Wed, 31 Jan 2024 at 16:29, Alexey Chistyakov >> wrote: >> > >> > Error_reporting option doesn't work. Same output. >> > I checked my php.ini file with "php --ini" comand and saw this output: >> >> >> >> Configuration File (php.ini) Path: /usr/local/etc >> >> Loaded Configuration File: /usr/local/etc/php.ini >> >> Scan for additional .ini files in: /usr/local/etc/php >> >> Additional .ini files parsed: >> /usr/local/etc/php/ext-18-session.ini, >> >> /usr/local/etc/php/ext-20-ctype.ini, >> >> /usr/local/etc/php/ext-20-curl.ini, >> >> /usr/local/etc/php/ext-20-dom.ini, >> >> /usr/local/etc/php/ext-20-ldap.ini, >> >> /usr/local/etc/php/ext-20-xml.ini >> > >> > >> > After adding the "error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT" >> line to the "/usr/local/etc/php.ini " file, nothing happened. >> > Apache restart command shows this output: >> >> >> >> [Wed Jan 31 18:16:04.065362 2024] [so:warn] [pid 2016] AH01574: module >> dir_module is already loaded, skipping >> >> [Wed Jan 31 18:16:04.083540 2024] [ssl:warn] [pid 2017] AH01873: Init: >> Session Cache is not configured [hint: SSLSessionCache] >> >> [Wed Jan 31 18:16:04.087244 2024] [mpm_prefork:notice] [pid 2017] >> AH00163: Apache/2.4.58 (FreeBSD) PHP/8.1.27 OpenSSL/1.1.1t-freebsd >> mod_auth_kerb/5.4 configured -- resuming normal operations >> >> [Wed Jan 31 18:16:04.087707 2024] [core:notice] [pid 2017] AH00094: >> Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT' >> > >> > >> > ср, 31 янв. 2024 г. в 15:59, Marcin Haba : >> >> >> >> Hello Alexey, >> >> >> >> Maybe you are looking in the wrong php.ini file. Sometimes there are >> >> few php.ini files that are used depending on how PHP is used. >> >> >> >> The messages that you showed us on screenshots are E_DEPRECATED type >> >> errors, so E_DEPRECATED works for PHP in your environment. >> >> >> >> For the lines from php.ini file, they are comment lines. Could you >> >> make sure that below you don't have error_reporting = XXX defined? >> >> >> >> Also please note that restart the web server in environments with >> >> PHP-FPM is not the same as restart PHP. >> >> >> >> I hope these tips will help in making it working. Good luck. >> >> >> >> Best regards, >> >> Marcin Haba (gani) >> >> >> >> On Wed, 31 Jan 2024 at 13:45, Alexey Chistyakov >> >> wrote: >> >> > >> >> > Hello! >> >> > >> >> > I had the
Re: [Bacula-users] Bacula GUI projects
Hello Alexey, Running php --ini displays php.ini file used by PHP command line interpreter, not by PHP that executes Baculum scripts. In FreeBSD by default PHP is used as Apache module (mod_php). To see what php.ini file is used with Baculum, you can put to /usr/local/www/baculum/htdocs/index.php calling phpinfo() function and exit() one line after starting the PHP block. Something like: wrote: > > Error_reporting option doesn't work. Same output. > I checked my php.ini file with "php --ini" comand and saw this output: >> >> Configuration File (php.ini) Path: /usr/local/etc >> Loaded Configuration File: /usr/local/etc/php.ini >> Scan for additional .ini files in: /usr/local/etc/php >> Additional .ini files parsed: /usr/local/etc/php/ext-18-session.ini, >> /usr/local/etc/php/ext-20-ctype.ini, >> /usr/local/etc/php/ext-20-curl.ini, >> /usr/local/etc/php/ext-20-dom.ini, >> /usr/local/etc/php/ext-20-ldap.ini, >> /usr/local/etc/php/ext-20-xml.ini > > > After adding the "error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT" line > to the "/usr/local/etc/php.ini " file, nothing happened. > Apache restart command shows this output: >> >> [Wed Jan 31 18:16:04.065362 2024] [so:warn] [pid 2016] AH01574: module >> dir_module is already loaded, skipping >> [Wed Jan 31 18:16:04.083540 2024] [ssl:warn] [pid 2017] AH01873: Init: >> Session Cache is not configured [hint: SSLSessionCache] >> [Wed Jan 31 18:16:04.087244 2024] [mpm_prefork:notice] [pid 2017] AH00163: >> Apache/2.4.58 (FreeBSD) PHP/8.1.27 OpenSSL/1.1.1t-freebsd mod_auth_kerb/5.4 >> configured -- resuming normal operations >> [Wed Jan 31 18:16:04.087707 2024] [core:notice] [pid 2017] AH00094: Command >> line: '/usr/local/sbin/httpd -D NOHTTPACCEPT' > > > ср, 31 янв. 2024 г. в 15:59, Marcin Haba : >> >> Hello Alexey, >> >> Maybe you are looking in the wrong php.ini file. Sometimes there are >> few php.ini files that are used depending on how PHP is used. >> >> The messages that you showed us on screenshots are E_DEPRECATED type >> errors, so E_DEPRECATED works for PHP in your environment. >> >> For the lines from php.ini file, they are comment lines. Could you >> make sure that below you don't have error_reporting = XXX defined? >> >> Also please note that restart the web server in environments with >> PHP-FPM is not the same as restart PHP. >> >> I hope these tips will help in making it working. Good luck. >> >> Best regards, >> Marcin Haba (gani) >> >> On Wed, 31 Jan 2024 at 13:45, Alexey Chistyakov >> wrote: >> > >> > Hello! >> > >> > I had the following options enabled by default: >> > ; error_reporting >> > ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED >> > >> > Enabling your options didn't change anything in the output. >> > >> > ср, 31 янв. 2024 г. в 04:52, Marcin Haba : >> >> >> >> Hello Alexey, >> >> >> >> It looks that you need to tune a bit the error reporting option in your >> >> PHP configuration. Could you please try with this settings in your >> >> php.ini file: >> >> >> >> error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT >> >> >> >> Good luck. >> >> >> >> Best regards, >> >> Marcin Haba (gani) >> >> >> >> On Tue, 30 Jan 2024 at 14:18, Alexey Chistyakov >> >> wrote: >> >>> >> >>> Hello! >> >>> >> >>> This is screens of my error: >> >>> >> >>> пт, 26 янв. 2024 г. в 22:44, Marcin Haba : >> >>>> >> >>>> Hello Alexey, >> >>>> >> >>>> Yes, I confirm that Baculum supports PHP 8 (8.0, 8.1 and 8.2). You >> >>>> wrote that after switching to PHP 8.1 Baculum stopped building >> >>>> correctly. Could I ask you about describing what it means, what >> >>>> commands you type and what error you see? It will help us to diagnose >> >>>> where the problem that you experience is. >> >>>> >> >>>> For Bacularis, it is a more modern project than Baculum. Here you can >> >>>> see comparison between both web interfaces: >> >>>> >> >>>> https://bacularis.app/news/3/36/Why-Bacularis/d,Bacularis%20news%20details >> >>>> >> >>>> For Bacula-Web, I always recom
Re: [Bacula-users] Bacula GUI projects
Hello Alexey, Maybe you are looking in the wrong php.ini file. Sometimes there are few php.ini files that are used depending on how PHP is used. The messages that you showed us on screenshots are E_DEPRECATED type errors, so E_DEPRECATED works for PHP in your environment. For the lines from php.ini file, they are comment lines. Could you make sure that below you don't have error_reporting = XXX defined? Also please note that restart the web server in environments with PHP-FPM is not the same as restart PHP. I hope these tips will help in making it working. Good luck. Best regards, Marcin Haba (gani) On Wed, 31 Jan 2024 at 13:45, Alexey Chistyakov wrote: > > Hello! > > I had the following options enabled by default: > ; error_reporting > ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED > > Enabling your options didn't change anything in the output. > > ср, 31 янв. 2024 г. в 04:52, Marcin Haba : >> >> Hello Alexey, >> >> It looks that you need to tune a bit the error reporting option in your PHP >> configuration. Could you please try with this settings in your php.ini file: >> >> error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT >> >> Good luck. >> >> Best regards, >> Marcin Haba (gani) >> >> On Tue, 30 Jan 2024 at 14:18, Alexey Chistyakov >> wrote: >>> >>> Hello! >>> >>> This is screens of my error: >>> >>> пт, 26 янв. 2024 г. в 22:44, Marcin Haba : >>>> >>>> Hello Alexey, >>>> >>>> Yes, I confirm that Baculum supports PHP 8 (8.0, 8.1 and 8.2). You >>>> wrote that after switching to PHP 8.1 Baculum stopped building >>>> correctly. Could I ask you about describing what it means, what >>>> commands you type and what error you see? It will help us to diagnose >>>> where the problem that you experience is. >>>> >>>> For Bacularis, it is a more modern project than Baculum. Here you can >>>> see comparison between both web interfaces: >>>> >>>> https://bacularis.app/news/3/36/Why-Bacularis/d,Bacularis%20news%20details >>>> >>>> For Bacula-Web, I always recommend this project. Davide does great >>>> work providing this tool. >>>> >>>> Best regards, >>>> Marcin Haba (gani) >>>> >>>> On Fri, 26 Jan 2024 at 13:33, Alexey Chistyakov >>>> wrote: >>>> > >>>> > Hello everyone! >>>> > >>>> > I need help with baculum. >>>> > When I switched the php version from 80 to 81, the baculum package from >>>> > bacula 11.0.6 stopped building correctly. I wanted to update the baculum >>>> > version, but when I went to bacula sourceforge, I discovered that the >>>> > baculum version in makefale in all versions of the bacula-gui archive is >>>> > 9.6.0. But on the other hand, the patchnotes for each bacula-gui version >>>> > are supplemented, and at the moment the latest version indicated in the >>>> > patchnotes for baculum is equal to the latest version of bacula (13.0.3). >>>> > Help me understand the baculum project is still alive, can it support >>>> > the latest versions of php? Or is it better to change it to analogues >>>> > baculum-web or bacularis? >>>> > >>>> > >>>> > ___ >>>> > 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
Re: [Bacula-users] Bacula GUI projects
Hello Alexey, It looks that you need to tune a bit the error reporting option in your PHP configuration. Could you please try with this settings in your php.ini file: error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT Good luck. Best regards, Marcin Haba (gani) On Tue, 30 Jan 2024 at 14:18, Alexey Chistyakov wrote: > Hello! > > This is screens of my error: > > пт, 26 янв. 2024 г. в 22:44, Marcin Haba : > >> Hello Alexey, >> >> Yes, I confirm that Baculum supports PHP 8 (8.0, 8.1 and 8.2). You >> wrote that after switching to PHP 8.1 Baculum stopped building >> correctly. Could I ask you about describing what it means, what >> commands you type and what error you see? It will help us to diagnose >> where the problem that you experience is. >> >> For Bacularis, it is a more modern project than Baculum. Here you can >> see comparison between both web interfaces: >> >> https://bacularis.app/news/3/36/Why-Bacularis/d,Bacularis%20news%20details >> >> For Bacula-Web, I always recommend this project. Davide does great >> work providing this tool. >> >> Best regards, >> Marcin Haba (gani) >> >> On Fri, 26 Jan 2024 at 13:33, Alexey Chistyakov >> wrote: >> > >> > Hello everyone! >> > >> > I need help with baculum. >> > When I switched the php version from 80 to 81, the baculum package from >> bacula 11.0.6 stopped building correctly. I wanted to update the baculum >> version, but when I went to bacula sourceforge, I discovered that the >> baculum version in makefale in all versions of the bacula-gui archive is >> 9.6.0. But on the other hand, the patchnotes for each bacula-gui version >> are supplemented, and at the moment the latest version indicated in the >> patchnotes for baculum is equal to the latest version of bacula (13.0.3). >> > Help me understand the baculum project is still alive, can it support >> the latest versions of php? Or is it better to change it to analogues >> baculum-web or bacularis? >> > >> > >> > ___ >> > 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 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] newbie: errors in baculum
Hello Stefan, Yes, for PostgreSQL 15 you need this patch. It should still be valid. At the moment Bacula GitLab stopped working so I am sending the patch in attachment. It is a one line patch. After applying it, the TDbCommand error should not occur anymore. Good luck. Best regards, Marcin Haba (gani) On Thu, 25 Jan 2024 at 13:45, Stefan G. Weichinger wrote: > > seems I hit this: > > https://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg72759.html > > Is it advised to use bacularis instead now? > > > ___ > 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 From 5ac1bbcd9c8d68b99f1a3569b7b7f7d95610f747 Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Mon, 3 Jul 2023 13:14:07 +0200 Subject: [PATCH] baculum: Improve support for newer PostgreSQL versions This change is ported from Bacularis. --- .../prado/framework/Data/Common/Pgsql/TPgsqlMetaData.php| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/baculum/protected/vendor/pradosoft/prado/framework/Data/Common/Pgsql/TPgsqlMetaData.php b/gui/baculum/protected/vendor/pradosoft/prado/framework/Data/Common/Pgsql/TPgsqlMetaData.php index 68a8bff5f..394a05ed6 100644 --- a/gui/baculum/protected/vendor/pradosoft/prado/framework/Data/Common/Pgsql/TPgsqlMetaData.php +++ b/gui/baculum/protected/vendor/pradosoft/prado/framework/Data/Common/Pgsql/TPgsqlMetaData.php @@ -297,7 +297,7 @@ EOD; SELECT conname, pg_catalog.pg_get_constraintdef(oid) AS consrc, - contype, + CAST(contype AS text), conrelid AS relid, NULL AS indkey, FALSE AS indisclustered -- 2.43.0 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula GUI projects
Hello Alexey, Yes, I confirm that Baculum supports PHP 8 (8.0, 8.1 and 8.2). You wrote that after switching to PHP 8.1 Baculum stopped building correctly. Could I ask you about describing what it means, what commands you type and what error you see? It will help us to diagnose where the problem that you experience is. For Bacularis, it is a more modern project than Baculum. Here you can see comparison between both web interfaces: https://bacularis.app/news/3/36/Why-Bacularis/d,Bacularis%20news%20details For Bacula-Web, I always recommend this project. Davide does great work providing this tool. Best regards, Marcin Haba (gani) On Fri, 26 Jan 2024 at 13:33, Alexey Chistyakov wrote: > > Hello everyone! > > I need help with baculum. > When I switched the php version from 80 to 81, the baculum package from > bacula 11.0.6 stopped building correctly. I wanted to update the baculum > version, but when I went to bacula sourceforge, I discovered that the baculum > version in makefale in all versions of the bacula-gui archive is 9.6.0. But > on the other hand, the patchnotes for each bacula-gui version are > supplemented, and at the moment the latest version indicated in the > patchnotes for baculum is equal to the latest version of bacula (13.0.3). > Help me understand the baculum project is still alive, can it support the > latest versions of php? Or is it better to change it to analogues baculum-web > or bacularis? > > > ___ > 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
Re: [Bacula-users] Some CDP plugin questions
Hello Myles, As preliminary I answered on the Bacularis user list, Bacularis will provide this type of function. For the client side encryption, it can be a problem :-) For the existing tools, in the Enterprise version there is single file restore. It is something similar but for virtual machine backups. Best regards, Marcin Haba (gani) On Fri, 19 Jan 2024 at 04:49, MylesDearBusiness via Bacula-users wrote: > > Hello, I have only two more questions: > > - Is there a CLI or graphical tool that I can use to browse available files > that were recently modified and journaled by CDP, and be able to drill down > to see the various versions cdp captured and then choose to restore ? The > user documentation alludes to the recovery of past versions of files but > doesn't mention any tooling to assist with this.As the CDP and journal > and spool directory don't appear to be ever cleared, this tool could run > where the Bacula file daemon runs and not have to deal with recovery points. > > - Is there some kind of tooling to be able to browse recovery points > graphically (ie. drill into a list of files backed up for a particular job > and browse the contents of a particular file) ? To sweeten the pot, I'm > strongly considering using client-side encryption, which may make it hard for > such tools to function. Acronis has this functionality, but I moved away > from them for other reasons (lack of stability mostly). > > Thanks, > > > --- > > > After some code reading, I think I have the answers to my previous questions, > which I hope help others in the community: > > > - Every Plugin = "cdp: ..." line in the FileSet/Include block is interpreted > as a command that is sent individually by the fd daemon to the cdp plugin, > which responds to each command separately by looking for the indicated > directory (or deriving the directory from a user account) to find the spool > directory .cdp-sdir and the spool journal file .bcdp-cli.journal which is > typically in the same directory as the spool directory .cdp-sdir, and then > the cdp fd plugin identifies the files to add to the backup set. > > - From what I can tell, the spool directory contents and journal file > continues to grow and is neither rotated nor pruned (can you confirm this?). > I suppose the advantage in this is that recent changes can be backed out > even if an external backup has not been done. > > - I converted the call to cdp-client to a systemd service call and embedded > the multiple -f arguments, each for different directories to monitor, > including user directories and systems locations such as SQL database > locations > > - I found (which should have been obvious) that if I placed the journal file > and spool directory inside /root then I couldn't actually monitor the /root > directory due to recursion !?!? Kind of like a room with mirrors on opposite > walls. > > - Bacula-fd daemon does not launch cdp-client, I have to do that outside > bacula-dir, bacula-fd and bacula-sd daemons. > > Best, > > > > On 2024-01-17 10:58 p.m., Myles Dear wrote: > > Thanks for the reply! > > I'm still missing a few important concepts: > > If I specify the 'Plugin = "cdp: user=x user=y user=x"' in my FileSet/Include > block in bacula-dir.conf, I would assume that bacula-fd would be the one to > launch cdp-client, otherwise why would I need to tell bacula director which > users I'm monitoring and tell bacula fd that I have cdp plugin enabled? > > My bacula-fd runs under user "root" so it can select files across the entire > server to back up, system and user files included. > > When I run cdp-client manually and specify multiple -f arguments, multiple > directories are monitored but only a single spool directory is created. I do > not see evidence that spool files are created for each user directory being > monitored. > > If I do not specify the spool directory and journal file locations, they > default to the home directory of the user that ran the cdp-client file (in > this case, /root). > > # /opt/bacula/bin/cdp-client -f /home/usera/ -f /home/userb/ > : cdp-client.cpp:151-0 Set spool directory to: /root/.cdp-sdir > : cdp-client.cpp:112-0 Set journal file to: /root/.bcdp-cli.journal > : folderwatcher.cpp:126-0 Started Watching: /home/usera > : folderwatcher.cpp:126-0 Started Watching: /home/usera/.ssh > : folderwatcher.cpp:126-0 Started Watching: /home/usera/.cache > : folderwatcher.cpp:126-0 Started Watching: /home/userb > : folderwatcher.cpp:126-0 Started Watching: /home/userb/Downloads > ... > > So, is the right thing to do to duplicate the configuration in my > bacula-
Re: [Bacula-users] Baculum GUI error 5: "Invalid director"
Hello Timothé, Could you try to log out and log in again to the web interface? Is it solving this problem? Thanks in advance for letting us know. Best regards, Marcin Haba (gani) On Thu, 18 Jan 2024 at 02:39, timothe pennec wrote: > > Hello everyone, > > I'm new in bacula and baculum, i've one server fine running since one year > without issue. > The server got full disk and i've decided to remove one volume file > /backup/Vol1 (cause i don't care loosing data if i can force full backup soon) > > Now when i'm connecting to the GUI i got one popup with "Error 5 : Invalid > director" > > I can running bconsole without issue : > > # bconsole > Connecting to Director 127.0.0.1:9101 > 1000 OK: 10002 bacula-dir Version: 13.0.3 (02 May 2023) > Enter a period to cancel a command. > *version > bacula-dir Version: 13.0.3 (02 May 2023) > x86_64-pc-linux-gnu-bacula-enterprise ubuntu 22.04 > > All bacula-dir bacula-fd and bacula-sd is currently running (systemctl status) > > I don't find anything about this error on internet and i get stuck now. > > Best regards. > Timothé > ___ > 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
[Bacula-users] New release Bacularis 2.4.0
Hello Everybody, We are very pleased to announce the release of a new version of Bacularis 2.4.0. This is new feature and bug fix release. We introduced two significant changes: the API host groups and easier way to configure Bacula resource access. We hope that these two new functions will much improve the user and resource management in Bacularis. Useful links: Release announcement: https://bacularis.app/news/67/36/New-release-Bacularis-2.4.0/d,Bacularis%20news%20details Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app Movies with main new functions in 2.4.0: - The API host groups: https://www.youtube.com/watch?v=8Q6ZMuqbG0E - Easier configuring Bacula resource access: https://www.youtube.com/watch?v=OFaLBJ_n8a0 As always binary packages 2.4.0 for popular Linux distributions are available already in the package repositories. Docker container images 2.4.0 are available in the Docker Hub repositories. We wish you successful installations and upgrades. On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] About Japanese Language Support
Hello Kuni, Thanks for confirming that you see this file in the "ja" directory. I tried this container image and there is a dead symbolic link for Japanese translation file as you can see here: sh-4.2# ls -l /usr/share/baculum/htdocs/protected/Web/Lang/ja/ total 0 lrwxrwxrwx 1 root root 47 Aug 3 2021 messages.mo -> /usr/share/locale/ja/LC_MESSAGES/baculum-web.mo sh-4.2# cat /usr/share/locale/ja/LC_MESSAGES/baculum-web.mo cat: /usr/share/locale/ja/LC_MESSAGES/baculum-web.mo: No such file or directory The latest messages.mo file for 11.0.x is here: https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/tree/Branch-11.0/gui/baculum/protected/Web/Lang/ja?ref_type=heads You can download it and put it there as a workaround. For a full solution I would propose to contact that Docker image maintainers by opening a bug report. At the end it is worth mentioning that the Japanese translations were not updated for a long time so they can be not complete but you will see. Best regards, Marcin Haba (gani) On Thu, 4 Jan 2024 at 03:36, 前田邦隆 wrote: > > Hello Marchin Haba > Thank you for your e-mail. > > Yes, there is the file which is "messages.mo" in > "/usr/share/baculum/htdocs/protected/Web/Lang/ja" > I built bacula with Docker. > The container is configured as follows... > > CONTAINER ID IMAGECOMMAND > CREATED STATUS PORTS NAMES > 850e6b8a31bb fametec/baculum-web:11.0.5 "/usr/bin/supervisord" 8 > days ago Up 8 days 0.0.0.0:9095->9095/tcp, :::9095->9095/tcp > docker_baculum-web_1 > ea9679ab8029 fametec/bacula-client:11.0.5 "bacula-fd -f -c /op…" 8 > days ago Up 8 days 0.0.0.0:9102->9102/tcp, :::9102->9102/tcp > docker_bacula-fd_1 > b86548a04669 fametec/bacula-storage:11.0.5"bacula-sd -f -c /op…" 8 > days ago Up 8 days 0.0.0.0:9103->9103/tcp, :::9103->9103/tcp > docker_bacula-sd_1 > c222ad27ff3f fametec/baculum-api:11.0.5 "/usr/bin/supervisord" 8 > days ago Up 8 days 0.0.0.0:9096->9096/tcp, :::9096->9096/tcp > docker_baculum-api_1 > 188e09226e7c fametec/bacula-director:11.0.5 "bacula-dir -f -c /o…" 8 > days ago Up 8 days 0.0.0.0:9101->9101/tcp, :::9101->9101/tcp > docker_bacula-dir_1 > 9f8b0b36f5a6 fametec/bacula-catalog:11.0.5"docker-entrypoint.s…" 8 > days ago Up 8 days 0.0.0.0:5432->5432/tcp, :::5432->5432/tcp docker_db_1 > > Thank you for your help. > Best regards. > > 2024年1月4日(木) 11:25 Marcin Haba : >> >> Hello Kuni, >> >> Could you please make sure that in this path you have the Japanese MO >> language file: >> >> /[BACULUM_DIR]/protected/Web/Lang/ja/messages.mo >> >> [BACULUM_DIR] - directory where you installed Baculum >> >> If not, then you need to provide it to this path. Currently in this >> place you probably have a dead link. >> >> Good luck. >> >> Best regards, >> Marcin Haba (gani) >> >> On Thu, 4 Jan 2024 at 03:08, 前田邦隆 wrote: >> > >> > Dear team, Nice to meet you, I am a user from Japan. My name is Kuni. >> > I recently installed bacula and baculum on Rocky Linux 9.3 with Docker. >> > After installation, we finished setting up the API, set up the web, and >> > set the language to Japanese. >> > However, Japanese is not displayed correctly. All displays look like >> > @@Dashboard@@. Please let me know how to solve this problem. >> > Kuni. >> > Best regards. >> > >> > -- >> > *-* >> > Kunitaka Maeda (前田邦隆) >> > mail : kuni.ma...@gmail.com >> > >> > Nonprofit Organization >> > Japan Karate Shoto Federation >> > NPO法人 日本空手松濤連盟 >> > Osaka Toyono branch >> > 大阪府本部 豊能支部 >> > https://jks-osaka-toyono.com/ >> > Branch chief >> > 支部長 >> > *--* >> > ___ >> > 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 p
Re: [Bacula-users] About Japanese Language Support
Hello Kuni, Could you please make sure that in this path you have the Japanese MO language file: /[BACULUM_DIR]/protected/Web/Lang/ja/messages.mo [BACULUM_DIR] - directory where you installed Baculum If not, then you need to provide it to this path. Currently in this place you probably have a dead link. Good luck. Best regards, Marcin Haba (gani) On Thu, 4 Jan 2024 at 03:08, 前田邦隆 wrote: > > Dear team, Nice to meet you, I am a user from Japan. My name is Kuni. > I recently installed bacula and baculum on Rocky Linux 9.3 with Docker. > After installation, we finished setting up the API, set up the web, and set > the language to Japanese. > However, Japanese is not displayed correctly. All displays look like > @@Dashboard@@. Please let me know how to solve this problem. > Kuni. > Best regards. > > -- > *-* > Kunitaka Maeda (前田邦隆) > mail : kuni.ma...@gmail.com > > Nonprofit Organization > Japan Karate Shoto Federation > NPO法人 日本空手松濤連盟 > Osaka Toyono branch > 大阪府本部 豊能支部 > https://jks-osaka-toyono.com/ > Branch chief > 支部長 > *--* > ___ > 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
Re: [Bacula-users] jobs intermittently stuck "Dir inserting Attributes" with long running query
Hello Everybody, Bacularis does not use the .bvfs_get_bootstrap bconsole command. I also looked at this query. It seems to me that besides .bvfs_get_bootstrap it is executed also after running some options from the bconsole 'restore' command. Tom, when your jobs are slowing down, is there any restore preparation at this time? Best regards, Marcin Haba (gani) On Fri, 22 Dec 2023 at 18:07, Tom Hodder via Bacula-users wrote: > > Thanks for the quick response!! > > On Fri, 22 Dec 2023 at 12:15, Martin Simmons wrote: > > > > This query looks like something related to restores or the > > .bvfs_get_bootstrap > bconsole command, not the backups. > > Ah ok. > > > Were you running some front end or GUI that was querying about jobids 103 > > and > > 419? > > I have bacula-web and bacularis installed. I will do some more > debugging and see whether anything is locking or the db from their > side. > > Many thanks! > > > > > > > > > > > > > __Martin > > > ___ > 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
[Bacula-users] New release Bacularis 2.2.0
Hello Everybody, We are pleased to announce a new minor Bacularis version. It is a new feature and bug fix release. We added a couple of new functions specially to the volume list and the job pages. These new features make navigating and using Bacularis easier. Full list of changes you can find in the release announcement. Useful links: Release announcement: https://bacularis.app/news/62/36/New-release-Bacularis-2.2.0/d,Bacularis%20news%20details Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app Binary packages 2.2.0 for popular Linux distributions are available already in the package repositories. Docker container images 2.2.0 are available in the Docker Hub repositories. We wish you good installations and upgrades. On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] Q: Bacula 11 and Baculum 11 - which Postgres versions do work?
Hello Justin It looks that you need a fix that enables support for PostgreSQL 15 and higher. I ported it a few months ago from Bacularis but unfortunately the Baculum 11 does not have it included. But don't worry, it is a simple patch that you can apply yourself. You can find it here: https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/e1389d3caf89875c0009930237ba59a1133f6cd6 Please let us know if it helped. Good luck. For the question about PostgreSQL 16 support, Baculum (and Bacularis) should support PostgreSQL up till the latest stable PostgreSQL release. If something does not work, please let us know and we will fix it. Thanks. Best regards, Marcin Haba (gani) On Fri, 8 Dec 2023 at 15:30, Justin Case wrote: > > Hey there, > > I am currently using Baculum 11 on Bacula 11 with Postgres 13. Today I made a > dump of the db and tried to move to Postgres 16. > > Baculum does not seem to work with the imported database out of the box and > throws: > > UNION types "char" and text cannot be matched at character > > Any ideas why this is? > > Is PG16 not supported for Bacula/Baculum? > > Which PG version should be used? > > Best > J/C > ___ > 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
Re: [Bacula-users] Restoring Incremental Promotes to Full
Hello Everybody, Yes, I am coming. Thanks for calling me here :-) Baculum / Bacularis always use full as a base + incremental or differential backups. In the restore wizard close to the radio button with the "Selected backup" restore method there is green help icon where is described the way how this method works: "Note: if you select incremental or differential backup, on the next step will be also loaded all directories and files from older backups required to do the job restore. In other words, the selected backup determines time point from which will be loaded the selected backup and other older backups (incremental, differential) backups up till closest full backup." If you don't use the restore from copy jobs function, Baculum will put your selected jobid to the following bconsole command: .bvfs_get_jobids jobid=XXXJOBIDXXX that determines all single backup jobids needed to do a consistent data restore. If you want to restore using copy jobs function Baculum will use own algorithm to determine jobids because of an old bug in .bvfs_get_jobids command described here: https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2500 Best regards, Marcin Haba (gani) On Sat, 28 Oct 2023 at 01:26, Bill Arlofski via Bacula-users wrote: > > On 10/27/23 16:17, Chris Wilkinson wrote: > > Having looked at the job log from a Baculum restore I can see that it is > > going back to the last full and restoring full, > > diffs, incrs in order. > > > > Is it not possible to restore from a particular job alone in Baculum as is > > possible with bconsole? > > Knowing Bacula, and knowing Marcin, I am sure there must be a way. > > Let's wait for Marcin to chime in. :) > > > Best regards, > Bill > > -- > Bill Arlofski > w...@protonmail.com > > ___ > 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
Re: [Bacula-users] Error 1000: Internal error when trying to update configuration via Baculum
Hello Vaughan, Could you show us output from the following command? # ls -la /opt/bacula/etc Thanks in advance. Best regards, Marcin Haba (gani) On Wed, 18 Oct 2023 at 04:54, Vaughan Wickham wrote: > > Hello Marcin, > > I've since been able to confirm the lighttpd user by reviewing: > /etc/lighttpd/lighttpd.conf > > The server username is: www-data > Server groupname is: www-data > > On that basis, I would have thought that the permissions ought to have > already been correctly set. > > And in any event, this command should have been appropriate: > usermod -a -G bacula www-data > > Regards, > Vaughan > > -Original Message- > From: Vaughan Wickham > Sent: Wednesday, October 18, 2023 1:07 PM > To: 'Marcin Haba' > Cc: bacula-users@lists.sourceforge.net > Subject: RE: [Bacula-users] Error 1000: Internal error when trying to update > configuration via Baculum > > Hello Marcin, > > Appreciate your reply. > > I have tried the following, without success. > > The documentation provides the following example (hint 1) usermod -a -G > bacula apache > > This is for apache web server. > > I am using lighttpd. > > So, I tried instead: > usermod -a -G bacula www-data > > After restarting the services: > php7.4-fpm > baculum-web-lighttpd > > There is no change in behaviour. > > I then tried adding the conf files to the /etc/sudoers.d/baculum And > restarting the services. > > This also made no difference to Baculum web being able to update the conf > files. > > I'm thinking that lighttpd is not running under user/group: www-data > > But I've not been able to submit the right search argument to identify how I > can identify what user/group lighttpd is using. > > Can you help? > > Regards, > Vaughan > > -Original Message- > From: Marcin Haba > Sent: Wednesday, October 18, 2023 12:12 PM > To: Vaughan Wickham > Cc: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Error 1000: Internal error when trying to update > configuration via Baculum > > Hello Vaughan, > > Baculum does not set file permissions automatically. It needs to be done > manually. I know that you use Baculum but to solve it you can use Bacularis > documentation where this case is described: > > https://bacularis.app/doc/brief/troubleshooting.html#permission-denied-error-when-saving-bacula-configuration > > Good luck! > > Best regards, > Marcin Haba (gani) > > On Wed, 18 Oct 2023 at 02:12, Vaughan Wickham wrote: > > > > Hello, > > > > > > > > I have tried to update the VolumeRetention period in Pools and encountered > > the following error when trying to save the change. > > > > > > > > Error 1000: Internal error. Warning file_put_contents > > (/opt/bacula/etc/bacula-dir.conf) failed to open stream: Permission > > denied > > > > > > > > It is clear that baculum doesn’t have write access to update the conf file. > > > > > > > > I had to provide the file path during the setup: > > /opt/bacula/etc/bacula-dir.conf > > > > > > > > So, I am sure that the path is correctly configured and I am guessing that > > this is a permissions issue. > > > > > > > > Do I need to add all the conf files into the sudoers file?: > > /etc/sudoers.d/baculum > > > > > > > > Regards, > > > > Vaughan > > > > ___ > > 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 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error 1000: Internal error when trying to update configuration via Baculum
Hello Vaughan, Baculum does not set file permissions automatically. It needs to be done manually. I know that you use Baculum but to solve it you can use Bacularis documentation where this case is described: https://bacularis.app/doc/brief/troubleshooting.html#permission-denied-error-when-saving-bacula-configuration Good luck! Best regards, Marcin Haba (gani) On Wed, 18 Oct 2023 at 02:12, Vaughan Wickham wrote: > > Hello, > > > > I have tried to update the VolumeRetention period in Pools and encountered > the following error when trying to save the change. > > > > Error 1000: Internal error. Warning file_put_contents > (/opt/bacula/etc/bacula-dir.conf) failed to open stream: Permission denied > > > > It is clear that baculum doesn’t have write access to update the conf file. > > > > I had to provide the file path during the setup: > /opt/bacula/etc/bacula-dir.conf > > > > So, I am sure that the path is correctly configured and I am guessing that > this is a permissions issue. > > > > Do I need to add all the conf files into the sudoers file?: > /etc/sudoers.d/baculum > > > > Regards, > > Vaughan > > ___ > 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
Re: [Bacula-users] Running Baculum Web - 1st time
Hello Vaughan, OK, so you finished the Baculum API wizard. Did you go through the steps for Baculum Web described here? https://baculum.app/doc/brief/installation.html#baculum-web Best regards, Marcin Haba (gani) On Tue, 17 Oct 2023 at 05:31, Vaughan Wickham wrote: > > Hello, > > > > I now have completed running Baculum API for the 1st time. > > > > I think the next step is to run Bacula Web for the 1st time. > > > > However, when I try: > > > > http://localhost:9095 > > > > I get unable to connect. > > > > Not sure what troubleshooting steps to try for this? > > > > Regards, > > Vaughan > > ___ > 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
Re: [Bacula-users] Configuring Baculum - Error Provided directory
Hello Vaughan, Could you try to type in the working directory field this path: /etc/baculum/Config-api-lighttpd instead of this one: /etc/baculum/Config-api-cache If it will not work, then could I ask you about showing us result from this command: # ls -la /etc/baculum/Config-api-lighttpd Thanks in advance for trying. Best regards, Marcin Haba (gani) On Tue, 17 Oct 2023 at 01:34, Vaughan Wickham wrote: > > Hello, > > > > I decided to try switching from using Apache as the web server and use > Lighttpd instead. > > > > I removed all the modules that I installed as part of the Apache installation. > > > > Restarted the system. > > > > Then installed Lighttpd. > > > > I didn’t see any errors during the removal or installation steps. > > > > These are the commands that I used to perform the Lighttpd install: > > > > sudo apt-get install baculum-common baculum-api baculum-api-lighttpd > > > > sudo systemctl start baculum-api-lighttpd > > > > > > Unfortunately, when I do the first time run of Baculum API, I get the same > error message as I did with Apache: > > > > Baculum working directory for Bacula > > Config: /etc/baculum/Config-api-cache > > > > Error Provided directory path is not writable by web server. > > > > According to the docs, the following log should have diagnostic information: > > /var/log/lighttpd/baculum-api-error.log > > > > 2023-10-17 10:10:43: server.c.1513) server started (lighttpd/1.4.59) > > 2023-10-17 10:10:43: configfile.c.1142) WARNING: unknown config-key: > compress.filetype (ignored) > > > > Wondering what to try next? > > > > Regards, > > Vaughan > > ___ > 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
Re: [Bacula-users] Configuring Baculum - Error Provided directory path is not writable by web server
Hello Vaughan, To the suggestions provided by Rob I am also adding two words about permissions. For this directory that you used for the Baculum working dir: /etc/baculum/Config-api-cache you need to create this directory (if it does not exist) and set ownership and permissions that enable to write to this directory by PHP user or group that by default in case Debian are www-data:www-data. If you don't want to have additional directory for that, please just put in this Baculum working dir field this path: /etc/baculum/Config-api-apache It will start work automatically without changing anything on the filesystem. Good luck! Best regards, Marcin Haba (gani) On Sun, 15 Oct 2023 at 08:13, Rob Gerber wrote: > > Dangit, I didn't add the link I said I would. Sorry. Bacula project repo > access link: > https://www.bacula.org/bacula-binary-package-download/ > > Baculum setup info, including more detail on the sudoers.d file I mentioned. > https://baculum.app/doc/brief/configuration.html > > Consider trying lighthttpd instead of apache2 if you can't get it figured > out. Instructions for that also in there. > > Robert Gerber > 402-237-8692 > r...@craeon.net > > On Sun, Oct 15, 2023, 12:30 AM Rob Gerber wrote: >> >> Thoughts, with most important probably being middle and end thought: >> >> 1. Can set permissions using ACL with getfacl and setfacl. Google and see >> man pages. However, this is probably not the best solution since... >> 2. You might need to add an exemption to a sudoers allow list file. Odds are >> there should be a baculum file in the relevant directory (I think >> /etc/sudoers?) with paths pointing to various places baculum is supposed to >> be able to access. >> 2.1 Are you installing bacula from the Debian repositories? This method uses >> non-standard (for bacula conventions) file locations sometimes. Also, code >> might not be the latest. The baculum API setup should prompt you to add >> entries to the sudoers file, but keep in mind that if the files requested >> are actually somewhere else you'll have to give the correct locations. Also, >> the file must end with a newline. >> 3. If installing from the Debian repositories, consider switching to the >> baacula community project repos instead. To do that, go the link below >> ("download > Deb, RPM, OSX packages" on the bacula community site), enter >> your name and email into the contact info section at the bottom of the page, >> and click submit. The main caveat is that it may inform you that a relevant >> download link will be emailed to you. This is not correct. It is present on >> the page that loads directly after you submit your information, in a link in >> the middle of the page, labeled is "here". Not super easy to find, needs >> improvement imo. Heads up, the instructions to add the custom bacula repos >> hosted by the project currently advise user to use apt-key which is >> deprecated. Idk what the preferred solution is in this case, but you've been >> warned there. >> >> I figure items 2 / 2.1 are probably what you need. Also, consider looking >> into bacularis! It's a more actively maintained friendly fork for baculum. >> The developer is on this list, and I've seen him commit patches very rapidly >> for issues people report. I'm super grateful for his hard work and I think >> his efforts to make bacula more accessible are very important. >> >> Robert Gerber >> 402-237-8692 >> r...@craeon.net >> >> On Sat, Oct 14, 2023, 11:18 PM Vaughan Wickham wrote: >>> >>> Hello >>> >>> >>> >>> I’m in the middle of first time run of Baculum on Debian 11 with Bacula >>> Director >= 11.0 >>> >>> >>> >>> I’m up to step 4, the Bacula configuration interface. >>> >>> >>> >>> When I perform the test, after updating all the paths, I am seeing an error >>> on access to the Baculum working directory for Bacula config. >>> >>> >>> >>> Error: Provided directory path is not writable by web server. >>> >>> >>> >>> The web server that I’m using is apache2. >>> >>> >>> >>> I’m guessing that I need to configure apache2 to have write access to: >>> >>> >>> >>> /etc/baculum/Config-api-cache >>> >>> >>> >>> But I’ve not setup apache previously and having looked on Google, it’s not >>> clear to me what the steps are to grant apache2 write access to: >>> >>> >>> >>&
Re: [Bacula-users] Remote client connection refused
Hello Chris, You need to remove the FDAddress directive (in bacula-fd.conf in FileDaemon resource) to set FD listening on all interfaces or you can set the FDAddress directive to the desired network interface address. After this change you need to restart the file daemon. More information you can find here: https://www.bacula.org/13.0.x-manuals/en/main/Client_File_daemon_Configur.html#16447 Good luck. Best regards, Marcin Haba (gani) On Tue, 19 Sept 2023 at 11:33, Chris Wilkinson wrote: > > I have set up a new remote client running FD only on Debian 12. The client is > on the same LAN as the DIR/SD. > > I get a connection refused error from the job. > > The FD is running but is listening on 127.0.1.1 port 9102 which is probably > why the connection is refused. > > Client bacula-fd -t returns no errors. > > I suppose the FD needs to listen on any address but I can't see how to do > that. > > Is there a bacula-fd.conf setting for this? > > Thanks > Chris Wilkinson > > > ___ > 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
Re: [Bacula-users] Progressive Virtual Fulls...
Hello Marco, Bacularis provides the virtual full backup wizard that supports configuring both virtual full and progressive virtual full. Here you can find quick video guides about it: Virtual full: https://www.youtube.com/watch?v=xLN9zmcEhD0 Progressive virtual full: https://www.youtube.com/watch?v=NrZ-PHhNphI Best regards, Marcin Haba (gani) On Fri, 15 Sept 2023 at 18:14, Marco Gaiarin wrote: > > > I need to setup some backups for some Windows machine, that generate a > decent amount of data (100GB currently) but slowly increasing. > > I don't need to manage tapes or changers, it suffices to have a copy of data > with a good retention elsewhere, in a safe place. > > > Normally for this task i use FileStorage, using some weekly volumes, doing a > full at week start and following with incremental; to have a decent > retention, i setup 3-5 volume, for a 3-5 weeks retention. > > > But in this case data is too much for a full (in storage and bandwidth > perspective) and so i've hit: > > https://www.bacula.org/whitepapers/PVF.pdf > > > I've read and read the docs, done some experiment, but lead to nothing. > Particulary, i've really not understood how to setup jobs, retention, ... > > > Someone have some examples to share? Thanks. > > -- > Software is like sex: it's better when it's free. > (Linus Torvalds) > > > > > ___ > 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
Re: [Bacula-users] Baculum with postgresql-15 SQLSTATE[42804]: Datatype mismatch
Hi Lorraine, That's great news. Thanks for letting us know that it started working on the new vm. Best regards, Marcin Haba (gani) On Thu, 3 Aug 2023 at 07:43, Lorraine wrote: > Hi Marcin, I have ended up blowing away the vm and starting over. This > has allowed me to progress with the Install Wizard and I am no longer > getting the errors. > > Thanks again for all your help. Not sure where I went wrong but just glad > that I am able to move past this issue. > > Regards > Lorraine > > > On 3 Aug 2023, at 3:03 pm, Lorraine > wrote: > > Hi Marcin, please see below output: > > [root@nbipbac12 httpd]# sudo -u apache sudo -l > Matching Defaults entries for apache on nbipbac12: > !visiblepw, always_set_home, match_group_by_gid, > always_query_group_plugin, env_reset, env_keep="COLORS DISPLAY HOSTNAME > HISTSIZE KDEDIR LS_COLORS", env_keep+="MAIL PS1 > PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE", env_keep+="LC_COLLATE > LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES", env_keep+="LC_MONETARY > LC_NAME LC_NUMERIC LC_PAPER > LC_TELEPHONE", env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET > XAUTHORITY", secure_path=/sbin\:/bin\:/usr/sbin\:/usr/bin, !requiretty > > User apache may run the following commands on nbipbac12: > (root) NOPASSWD: /opt/bacula/bin/bconsole > (ALL) NOPASSWD: ALL > > Also I tried the following without issue: > > [root@nbipbac12 httpd]# sudo -u apache sudo /opt/bacula/bin/bconsole > Connecting to Director nbipbac02.local.netbi.net.au:9101 > 1000 OK: 10002 nbipbac02-dir Version: 13.0.3 (02 May 2023) > Enter a period to cancel a command. > * > > Regards > Lorraine > > > On 3 Aug 2023, at 2:01 pm, Marcin Haba wrote: > > sudo -u apache sudo /opt/bacula/bin/bconsole > > > Burgess Systems Consulting > e: lorra...@burgess-consulting.com.au > w: http://www.burgess-consulting.com.au > m: +64-21-988-950 > ddi: +61 2 8077 4296 > Suite 802, 210 Clarence St, Sydney 2000, NSW > > > > > > Burgess Systems Consulting > e: lorra...@burgess-consulting.com.au > w: http://www.burgess-consulting.com.au > m: +64-21-988-950 > ddi: +61 2 8077 4296 > Suite 802, 210 Clarence St, Sydney 2000, NSW > > > > -- "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
Re: [Bacula-users] Baculum with postgresql-15 SQLSTATE[42804]: Datatype mismatch
Hello Lorraine, It is interesting. Thanks for your feedback. Internally to connect to bconsole Bacularis does the same as this shell command does (adapted to your problem): # sudo -u apache sudo /opt/bacula/bin/bconsole The 'sudo -u apache' switches user to 'apache' user to be the same user as PHP user. Once we are the 'apache' user then the regular sudo command is executed 'sudo /opt/bacula/bin/bconsole'. If the above command will work, then Bacularis will work the same automatically. Could you show us the output from this command? # sudo -u apache sudo -l It will list allowed commands for the apache user. Thanks. Good luck. Best regards, Marcin Haba (gani) On Thu, 3 Aug 2023 at 01:47, Lorraine wrote: > Morning Marcin, Thank you for the update. > I tried the alternate sudo entry but still had no luck. I also set > "SELINUX=disabled” in /etc/selinux/config but nothing seems to get past > this error. > I will continue to troubleshoot and let you know if I find anything. > > Regards > Lorraine > > On 3 Aug 2023, at 7:59 am, Marcin Haba wrote: > > Hello Lorraine, > > In your Bacularis sudoers file you use switching from apache user to > bacula user. It is correct but unfortunately Bacularis does not support it. > To work with this setting Bacularis needs to know about bacula user and use > internally "sudo -u bacula" sudo parameter to let know sudo about target > user. > > If you want you can omit the bacula user in sudo and then will be used the > default target user which is root. > > Defaults:apache !requiretty > apache ALL = NOPASSWD: /opt/bacula/bin/bconsole > > In the future we will add support for -u sudo parameter. > > Best regards, > Marcin Haba (gani) > > On Wed, 2 Aug 2023 at 08:43, Lorraine > wrote: > >> Hi, Yes I installed the following: >> >> [root@nbipbac12 bin]# yum list installed | grep bacularis-selinux >> bacularis-selinux.noarch 2.1.2-1.el8 >> @bacularis-app >> >> Regards >> Lorraine >> >> >> >> >> On 2 Aug 2023, at 6:16 pm, Marcin Haba wrote: >> >> SELinux >> >> >> Burgess Systems Consulting >> e: lorra...@burgess-consulting.com.au >> w: http://www.burgess-consulting.com.au >> m: +64-21-988-950 >> ddi: +61 2 8077 4296 >> Suite 802, 210 Clarence St, Sydney 2000, NSW >> >> >> >> >> > > -- > "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 > > > Burgess Systems Consulting > e: lorra...@burgess-consulting.com.au > w: http://www.burgess-consulting.com.au > m: +64-21-988-950 > ddi: +61 2 8077 4296 > Suite 802, 210 Clarence St, Sydney 2000, NSW > > > > -- "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
Re: [Bacula-users] Baculum with postgresql-15 SQLSTATE[42804]: Datatype mismatch
Hello Lorraine, In your Bacularis sudoers file you use switching from apache user to bacula user. It is correct but unfortunately Bacularis does not support it. To work with this setting Bacularis needs to know about bacula user and use internally "sudo -u bacula" sudo parameter to let know sudo about target user. If you want you can omit the bacula user in sudo and then will be used the default target user which is root. Defaults:apache !requiretty apache ALL = NOPASSWD: /opt/bacula/bin/bconsole In the future we will add support for -u sudo parameter. Best regards, Marcin Haba (gani) On Wed, 2 Aug 2023 at 08:43, Lorraine wrote: > Hi, Yes I installed the following: > > [root@nbipbac12 bin]# yum list installed | grep bacularis-selinux > bacularis-selinux.noarch 2.1.2-1.el8 > @bacularis-app > > Regards > Lorraine > > > > > On 2 Aug 2023, at 6:16 pm, Marcin Haba wrote: > > SELinux > > > Burgess Systems Consulting > e: lorra...@burgess-consulting.com.au > w: http://www.burgess-consulting.com.au > m: +64-21-988-950 > ddi: +61 2 8077 4296 > Suite 802, 210 Clarence St, Sydney 2000, NSW > > > > -- "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
Re: [Bacula-users] Baculum with postgresql-15 SQLSTATE[42804]: Datatype mismatch
Hello Lorraine, Thanks for the details about your installation. This error is a permission problem. Please make sure that you installed the bacularis-selinux package if you have SELinux enabled in your system. Did you install it? Best regards, Marcin Haba (gani) On Wed, 2 Aug 2023 at 08:07, Lorraine wrote: > Hi Marcin, Thanks for the explanation. > > Our current bacula configuration consists of the Director & Storage Deamon > reside on a Linux 7.9 VM so unfortunately this rules out doing a simple > setup of the Bacularis Web Interface/API install onto the same host. I > have created a new Linux 8.8 specifically for the Bacularis Web > Interface/API. I performed the install steps for Bacularis & I also > installed Bacula-client for access to bconsole . > > It is the Bacularis Install Wizard where I am having issues. I can make a > connection to the Bacula Catalog Database ok, however, when it comes to > connecting to bconsole I am experiencing sudo issues with the following > error: > > "Problem with connection to bconsole. Output=>sudo: unable to open > /run/sudo/ts/apache: Permission denied We trust you have received the usual > lecture from the local System Administrator. It usually boils down to these > three things: #1) Respect the privacy of others. #2) Think before you type. > #3) With great power comes great responsibility. sudo: a terminal is > required to read the password; either use the -S option to read from > standard input or configure an askpass helper, Exitcode=>1” > > Any advice would be appreciated. > > Regards > Lorraine > > On 2 Aug 2023, at 4:49 pm, Marcin Haba wrote: > > Hello Lorraine, > > We don't provide rpm packages for CentOS 7 because in the system repos it > does not have PHP >= 7.4. There is an old PHP 5.4. If you will be able to > install on CentOS 7 host PHP >= 7.4 or greater (for example from REMI > repository) then you can install Bacularis by Composer and it will work. > > For your question about installation, it depends on how you want to work > with remote Bacula hosts. Typical installation is with one Bacularis web > interface and many Bacularis API hosts. The web interface manages all the > API hosts. Each API host can be configured with the following capabilities: > > 1) catalog connection > 2) bconsole connection > 3) Bacula configuration settings > 4) Actions (Bacula components start/stop/restart) > 5) Bacula software management (install/upgrade/remove) > > For hosts with Bacula clients and storage daemons useful is to have > installed the API instance with 3) and 4) (and also 5)) but it is not > mandatory if you are not going to change file daemon configuration via web. > For hosts with Directors 1) and 2), 3), 4) and/or 5) can be set. All the > API capabilities are independent and depends on what you would like to > share on each API host, for example a host with 2) (bconsole access) and 4) > (Actions). > > For new Bacularis installations you can start simple - with the web > interface and API instance on the Director host. There is not need to > install Bacularis on every Bacula FD and SD host until you want to work > with its configuration on the web interface. The FDs and SDs will be > available for administrative work on the interface anyway. > > The Bacularis API and Bacula component deployment on the remote hosts can > be done via the web interface or manually. Here you can find example video > guide with deploying Bacularis and Bacula client on a new host: > > https://www.youtube.com/watch?v=wsayzd7CsuU > > Good luck. In case questions or problems, please let us know. > > Best regards, > Marcin Haba (gani) > > On Wed, 2 Aug 2023 at 05:01, Lorraine > wrote: > >> Hello Marcin, >> >> Thank you for your help. Looks like bacularis needs to be installed >> alongside bacula ( on the same machine ) is this assumption correct? Also, >> do you know if there is a bacularis release for linux 7.9? >> >> Regards >> Lorraine >> >> On 1 Aug 2023, at 4:49 pm, Marcin Haba wrote: >> >> Hello Lorraine, >> >> Great. For troubleshooting usually it is good to visit the Bacularis >> documentation and the "Troubleshooting" chapter here: >> >> https://bacularis.app/doc/brief/troubleshooting.html >> >> Good luck. >> >> Best regards, >> Marcin Haba (gani) >> >> On Tue, 1 Aug 2023 at 06:37, Lorraine >> wrote: >> >>> Thank you Marcin >>> >>> I am currently troubleshooting install of Bacularis so hopefully I can >>> use this tool instead >>> >>> Regards >>> Lorraine >>> >>> On 31 Ju
Re: [Bacula-users] Update the bacula-dir.conf file
Hello Rocky, You need to add these 10 clients to Bacula Director configuration (the Client {} resource). After that you need to create new jobs for new clients with specific schedule settings and others. I don't know if there is a best way of doing it. 10 clients is not a big number so maybe you can try to add them manually or by a web interface if you are planning to work with it via the web. Good luck. Best regards, Marcin Haba (gani) On Tue, 1 Aug 2023 at 11:14, rocky wrote: > > Hi Team, > > We have deployed the bacula master successfully and now, we have almost > installed 10 bacula clients. > Can anyone suggest the best way to add these 10 clients in the bacula master > bacula-dir.conf file and each job of all servers should execute at different > intervals? > > Thanks > Rocky > > ___ > 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
Re: [Bacula-users] Baculum with postgresql-15 SQLSTATE[42804]: Datatype mismatch
Hello Lorraine, We don't provide rpm packages for CentOS 7 because in the system repos it does not have PHP >= 7.4. There is an old PHP 5.4. If you will be able to install on CentOS 7 host PHP >= 7.4 or greater (for example from REMI repository) then you can install Bacularis by Composer and it will work. For your question about installation, it depends on how you want to work with remote Bacula hosts. Typical installation is with one Bacularis web interface and many Bacularis API hosts. The web interface manages all the API hosts. Each API host can be configured with the following capabilities: 1) catalog connection 2) bconsole connection 3) Bacula configuration settings 4) Actions (Bacula components start/stop/restart) 5) Bacula software management (install/upgrade/remove) For hosts with Bacula clients and storage daemons useful is to have installed the API instance with 3) and 4) (and also 5)) but it is not mandatory if you are not going to change file daemon configuration via web. For hosts with Directors 1) and 2), 3), 4) and/or 5) can be set. All the API capabilities are independent and depends on what you would like to share on each API host, for example a host with 2) (bconsole access) and 4) (Actions). For new Bacularis installations you can start simple - with the web interface and API instance on the Director host. There is not need to install Bacularis on every Bacula FD and SD host until you want to work with its configuration on the web interface. The FDs and SDs will be available for administrative work on the interface anyway. The Bacularis API and Bacula component deployment on the remote hosts can be done via the web interface or manually. Here you can find example video guide with deploying Bacularis and Bacula client on a new host: https://www.youtube.com/watch?v=wsayzd7CsuU Good luck. In case questions or problems, please let us know. Best regards, Marcin Haba (gani) On Wed, 2 Aug 2023 at 05:01, Lorraine wrote: > Hello Marcin, > > Thank you for your help. Looks like bacularis needs to be installed > alongside bacula ( on the same machine ) is this assumption correct? Also, > do you know if there is a bacularis release for linux 7.9? > > Regards > Lorraine > > On 1 Aug 2023, at 4:49 pm, Marcin Haba wrote: > > Hello Lorraine, > > Great. For troubleshooting usually it is good to visit the Bacularis > documentation and the "Troubleshooting" chapter here: > > https://bacularis.app/doc/brief/troubleshooting.html > > Good luck. > > Best regards, > Marcin Haba (gani) > > On Tue, 1 Aug 2023 at 06:37, Lorraine > wrote: > >> Thank you Marcin >> >> I am currently troubleshooting install of Bacularis so hopefully I can >> use this tool instead >> >> Regards >> Lorraine >> >> On 31 Jul 2023, at 7:10 pm, Marcin Haba wrote: >> >> Hello Lorraine, >> >> About a month ago I ported from Bacularis a change to enable PostgreSQL >> 15 support in Baculum. Unfortunately there has not been released any >> Baculum version with this change yet. >> >> So, please wait on the new Baculum release or use Bacularis. >> >> Best regards, >> Marcin Haba (gani) >> >> On Mon, 31 Jul 2023 at 08:28, Lorraine via Bacula-users < >> bacula-users@lists.sourceforge.net> wrote: >> >>> Hi, Does Baculum work with postgresql-15 ? >>> >>> I have the same issue as - >>> https://sourceforge.net/p/bacula/mailman/bacula-users/thread/DB9P190MB1481FDBC055FEB2EDA24A7F8FD5EA%40DB9P190MB1481.EURP190.PROD.OUTLOOK.COM/#msg37859480 >>> <https://sourceforge.net/p/bacula/mailman/bacula-users/thread/db9p190mb1481fdbc055feb2eda24a7f8fd...@db9p190mb1481.eurp190.prod.outlook.com/#msg37859480> >>> >>> The outcome of that thread was to downgrade, this is not an option for >>> me. Will baculum be releasing a patch for this issue with postgresql-15? >>> >>> Regards >>> Lorrain >>> >>> Burgess Systems Consulting >>> e: lorra...@burgess-consulting.com.au >>> w: http://www.burgess-consulting.com.au >>> m: +64-21-988-950 >>> ddi: +61 2 8077 4296 >>> Suite 802, 210 Clarence St, Sydney 2000, NSW >>> >>> >>> >>> >>> ___ >>> 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 >> przyja
Re: [Bacula-users] Baculum with postgresql-15 SQLSTATE[42804]: Datatype mismatch
Hello Lorraine, Great. For troubleshooting usually it is good to visit the Bacularis documentation and the "Troubleshooting" chapter here: https://bacularis.app/doc/brief/troubleshooting.html Good luck. Best regards, Marcin Haba (gani) On Tue, 1 Aug 2023 at 06:37, Lorraine wrote: > Thank you Marcin > > I am currently troubleshooting install of Bacularis so hopefully I can use > this tool instead > > Regards > Lorraine > > On 31 Jul 2023, at 7:10 pm, Marcin Haba wrote: > > Hello Lorraine, > > About a month ago I ported from Bacularis a change to enable PostgreSQL 15 > support in Baculum. Unfortunately there has not been released any Baculum > version with this change yet. > > So, please wait on the new Baculum release or use Bacularis. > > Best regards, > Marcin Haba (gani) > > On Mon, 31 Jul 2023 at 08:28, Lorraine via Bacula-users < > bacula-users@lists.sourceforge.net> wrote: > >> Hi, Does Baculum work with postgresql-15 ? >> >> I have the same issue as - >> https://sourceforge.net/p/bacula/mailman/bacula-users/thread/DB9P190MB1481FDBC055FEB2EDA24A7F8FD5EA%40DB9P190MB1481.EURP190.PROD.OUTLOOK.COM/#msg37859480 >> <https://sourceforge.net/p/bacula/mailman/bacula-users/thread/db9p190mb1481fdbc055feb2eda24a7f8fd...@db9p190mb1481.eurp190.prod.outlook.com/#msg37859480> >> >> The outcome of that thread was to downgrade, this is not an option for >> me. Will baculum be releasing a patch for this issue with postgresql-15? >> >> Regards >> Lorrain >> >> Burgess Systems Consulting >> e: lorra...@burgess-consulting.com.au >> w: http://www.burgess-consulting.com.au >> m: +64-21-988-950 >> ddi: +61 2 8077 4296 >> Suite 802, 210 Clarence St, Sydney 2000, NSW >> >> >> >> >> ___ >> 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 > > > Burgess Systems Consulting > e: lorra...@burgess-consulting.com.au > w: http://www.burgess-consulting.com.au > m: +64-21-988-950 > ddi: +61 2 8077 4296 > Suite 802, 210 Clarence St, Sydney 2000, NSW > > > > -- "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
Re: [Bacula-users] Baculum with postgresql-15 SQLSTATE[42804]: Datatype mismatch
Hello Lorraine, About a month ago I ported from Bacularis a change to enable PostgreSQL 15 support in Baculum. Unfortunately there has not been released any Baculum version with this change yet. So, please wait on the new Baculum release or use Bacularis. Best regards, Marcin Haba (gani) On Mon, 31 Jul 2023 at 08:28, Lorraine via Bacula-users < bacula-users@lists.sourceforge.net> wrote: > Hi, Does Baculum work with postgresql-15 ? > > I have the same issue as - > https://sourceforge.net/p/bacula/mailman/bacula-users/thread/DB9P190MB1481FDBC055FEB2EDA24A7F8FD5EA%40DB9P190MB1481.EURP190.PROD.OUTLOOK.COM/#msg37859480 > <https://sourceforge.net/p/bacula/mailman/bacula-users/thread/db9p190mb1481fdbc055feb2eda24a7f8fd...@db9p190mb1481.eurp190.prod.outlook.com/#msg37859480> > > The outcome of that thread was to downgrade, this is not an option for > me. Will baculum be releasing a patch for this issue with postgresql-15? > > Regards > Lorrain > > Burgess Systems Consulting > e: lorra...@burgess-consulting.com.au > w: http://www.burgess-consulting.com.au > m: +64-21-988-950 > ddi: +61 2 8077 4296 > Suite 802, 210 Clarence St, Sydney 2000, NSW > > > > ___ > 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
Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn connection
Hello Yakup, Great to hear that it helped. Thanks for your feedback. Yesterday we released a new Bacularis 2.1.0 that includes the performance improvement for loading the dashboard. You can read about it here: https://bacularis.app/news/57/36/New-release-Bacularis-2.1.0/d,Bacularis%20news%20details Best regards, Marcin Haba (gani) On Mon, 17 Jul 2023 at 09:46, Yakup Kaya wrote: > > Hello Marcin, > > > Thanks a lot! Great support from you, as usual. > > > The compression significantly improved the loading time. Below is a > screenshot before and after the compression. Everything is much faster now. I > will try to replace Baculum with Bacularis on my installations as well, when > I have time to do it. > > > https://snipboard.io/SkuHb6.jpg > > > Kind regards, > > Yakup Kaya > > > Mit freundlichen Grüßen / Kind Regards > > Yakup Kaya > > IT Engineer > > > Phone: +49 (0)7541 / 282-192 > > www.indra-avitech.aero > > > > > From: Marcin Haba > Sent: Saturday, July 15, 2023 20:34 > To: Yakup Kaya > Cc: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn > connection > > Hello Yakup, > > Thanks for your feedback. > > This mod_gzip module that you indicated is for framework files, not > for Baculum itself. I would propose to use mod_deflate. First you need > to make sure that in your Apache instance this module is enabled in > config: > > LoadModule deflate_module modules/mod_deflate.so > > And then in Baculum Web Apache config file you can modify > tag and add there lines like below: > > > AddOutputFilterByType DEFLATE text/html > AddOutputFilterByType DEFLATE text/css > AddOutputFilterByType DEFLATE application/javascript > AddOutputFilterByType DEFLATE application/json > > ...rest options > > > After that please restart the web server and enable in the web > developer tools in the web browser displaying compressed and > uncompressed response size. In Google Chrome this option is named "Use > large request rows" in the network console settings. This way you will > see if compression works. > > Independent on enabling the compression I prepared changes to speed up > loading dashboard page. I added it to Bacularis and then I ported it > to Baculum. This change significantly improves loading the dashboard > page. It is available from next release. > > Best regards, > Marcin Haba (gani) > > On Fri, 14 Jul 2023 at 08:22, Yakup Kaya > wrote: > > > > Hello again, > > > > > > I tried mod_deflate, but it did not change anything. I suspect that the > > compression is already enabled for js files with mod_gzip in > > baculum-web.conf file with the following lines. > > > > > > > > mod_gzip_on Yes > > mod_gzip_dechunk Yes > > mod_gzip_item_include file \.js$ > > mod_gzip_item_exclude rspheader > > ^Content-Encoding:.*gzip.* > > > > > > Kind regards, > > > > Yakup Kaya > > > > > > > > From: Yakup Kaya > > Sent: Friday, July 14, 2023 07:37 > > To: Marcin Haba > > Cc: bacula-users@lists.sourceforge.net > > Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn > > connection > > > > > > Hi Marcin, > > > > > > Thanks a lot for your answer. I will have a look at compression, and share > > my results from here. For the number of jobs listed, I already use 100 > > (default was 15000), but in my case it does not change loading time for the > > dashboard. It still gets that 26.65 MB of data and loading time does not > > change. But that setting improves the loading time for "Job history" and I > > always decrease the default on my installations. > > > > > > Kind regards, > > > > Yakup Kaya > > > > > > > > > > From: Marcin Haba > > Sent: Friday, July 14, 2023 04:03 > > To: Yakup Kaya > > Cc: bacula-users@lists.sourceforge.net > > Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn > > connection > > > > Hello Yakup, > > > > You can try to enable compression in your web server. Here you can see > > how it can be done for Apache using mod_deflate module: > > > > https://httpd.apache.org/docs/2.4/mod/mod_deflate.html > > > > Also, what can speed up the process of loading
Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn connection
Hello Yakup, Thanks for your feedback. This mod_gzip module that you indicated is for framework files, not for Baculum itself. I would propose to use mod_deflate. First you need to make sure that in your Apache instance this module is enabled in config: LoadModule deflate_module modules/mod_deflate.so And then in Baculum Web Apache config file you can modify tag and add there lines like below: AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/json ...rest options After that please restart the web server and enable in the web developer tools in the web browser displaying compressed and uncompressed response size. In Google Chrome this option is named "Use large request rows" in the network console settings. This way you will see if compression works. Independent on enabling the compression I prepared changes to speed up loading dashboard page. I added it to Bacularis and then I ported it to Baculum. This change significantly improves loading the dashboard page. It is available from next release. Best regards, Marcin Haba (gani) On Fri, 14 Jul 2023 at 08:22, Yakup Kaya wrote: > > Hello again, > > > I tried mod_deflate, but it did not change anything. I suspect that the > compression is already enabled for js files with mod_gzip in baculum-web.conf > file with the following lines. > > > > mod_gzip_on Yes > mod_gzip_dechunk Yes > mod_gzip_item_include file \.js$ > mod_gzip_item_exclude rspheader > ^Content-Encoding:.*gzip.* > > > Kind regards, > > Yakup Kaya > > > ____ > From: Yakup Kaya > Sent: Friday, July 14, 2023 07:37 > To: Marcin Haba > Cc: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn > connection > > > Hi Marcin, > > > Thanks a lot for your answer. I will have a look at compression, and share my > results from here. For the number of jobs listed, I already use 100 (default > was 15000), but in my case it does not change loading time for the dashboard. > It still gets that 26.65 MB of data and loading time does not change. But > that setting improves the loading time for "Job history" and I always > decrease the default on my installations. > > > Kind regards, > > Yakup Kaya > > > > > From: Marcin Haba > Sent: Friday, July 14, 2023 04:03 > To: Yakup Kaya > Cc: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn > connection > > Hello Yakup, > > You can try to enable compression in your web server. Here you can see > how it can be done for Apache using mod_deflate module: > > https://httpd.apache.org/docs/2.4/mod/mod_deflate.html > > Also, what can speed up the process of loading pages, you can limit > the number of jobs loaded to the web interface. It is possible to do > under the gearwheel icon in the sidebar menu at the top left. > > For the dashboard I think we can also improve a bit loading it. I > noted it on my task list to check in the future. Thanks. > > Best regards, > Marcin Haba (gani) > > On Thu, 13 Jul 2023 at 14:11, Yakup Kaya > wrote: > > > > Hello everybody, > > > > > > On Baculum interface, I have a performance issue on slow remote connections > > (it is fast on the local machine). Sometimes it takes around 5 minutes for > > the Dashboard to load completely. With inspect element option on Firefox, I > > noticed jquery.js is getting 26.65MB of data and it is taking 229530 ms to > > load the whole page (because of the slow connection). Initially the > > Dashboard comes quickly without the "Last 10 jobs" and the "Database size" > > parts. Then it waits 4-5 minutes to load that ~26 MB data and shows the > > rest. I wonder why this interface has to get that much data to show the > > information presented on Dashboard. Do you have any idea how can I improve > > the performance? Unfortunately I cannot change the speed of my remote > > connections. The link for the screenshot showing inspect element is below. > > > > > > https://snipboard.io/GslPw9.jpg > > > > > > Details of the system I connect is as follows: > > > > > > Operating system: CentOS Linux release 7.6.1810 (Core) > > > > Database used: PostgreSQL (version 9.2.24) > > > > Bacula version: 9.6.6-1 > > > > Baculum version: 9.6.6.1-1 > > &
Re: [Bacula-users] Baculum Dashboard is too slow on remote vpn connection
Hello Yakup, You can try to enable compression in your web server. Here you can see how it can be done for Apache using mod_deflate module: https://httpd.apache.org/docs/2.4/mod/mod_deflate.html Also, what can speed up the process of loading pages, you can limit the number of jobs loaded to the web interface. It is possible to do under the gearwheel icon in the sidebar menu at the top left. For the dashboard I think we can also improve a bit loading it. I noted it on my task list to check in the future. Thanks. Best regards, Marcin Haba (gani) On Thu, 13 Jul 2023 at 14:11, Yakup Kaya wrote: > > Hello everybody, > > > On Baculum interface, I have a performance issue on slow remote connections > (it is fast on the local machine). Sometimes it takes around 5 minutes for > the Dashboard to load completely. With inspect element option on Firefox, I > noticed jquery.js is getting 26.65MB of data and it is taking 229530 ms to > load the whole page (because of the slow connection). Initially the Dashboard > comes quickly without the "Last 10 jobs" and the "Database size" parts. Then > it waits 4-5 minutes to load that ~26 MB data and shows the rest. I wonder > why this interface has to get that much data to show the information > presented on Dashboard. Do you have any idea how can I improve the > performance? Unfortunately I cannot change the speed of my remote > connections. The link for the screenshot showing inspect element is below. > > > https://snipboard.io/GslPw9.jpg > > > Details of the system I connect is as follows: > > > Operating system: CentOS Linux release 7.6.1810 (Core) > > Database used: PostgreSQL (version 9.2.24) > > Bacula version: 9.6.6-1 > > Baculum version: 9.6.6.1-1 > > Baculum API version: 9.6.6.1-1 > > Authentication method for users: Oauth2 > > Kind regards, > Yakup Kaya > > ___ > 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
[Bacula-users] New release Bacularis 2.0.0
Hello Everybody, We are glad to announce a new major release of Bacularis 2.0.0. This is a new function and bug fix release. In this version we prepared a wizard for creating the virtual full and progressive virtual full backup. There is also an option to modify existing jobs to support virtual full. Besides that we added StartTLS option support to LDAP connection, we prepared new columns in job tables. At the end we added missing default OS profiles for deploying to Fedora 38, Debian 12 Bookworm and Ubuntu 23.04 Lunar. Useful links: Release announcement: https://bacularis.app/news/54/36/New-release-Bacularis-2.0.0/d,Bacularis%20news%20details Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app New features: The Virtual Full backup wizard: https://www.youtube.com/watch?v=xLN9zmcEhD0 The Progressive Virtual Full backup wizard: https://www.youtube.com/watch?v=NrZ-PHhNphI Binary packages 2.0.0 for popular Linux distributions are available already in the package repositories. Docker container images 2.0.0 are available in the Docker Hub repositories. Have good installations and upgrades. On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] bacularis data table error
Hello Ken, This problem is caused by the MySQL catalog table inconsistency. I opened an issue in the Bacula GitLab here: https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2684 Best regards, Marcin Haba (gani) On Tue, 30 May 2023 at 03:13, Marcin Haba wrote: > Hello Ken, > > It looks that you have the Bacula Director older than 7.2.0 because the > 'filetable' column in the Job table was added in the Bacula table format in > version 7.2.0. > > Unfortunately this Director version is too old for Bacularis. What the > Director version are you using? > > Best regards, > Marcin Haba (gani) > > On Tue, 30 May 2023 at 01:59, Ken Mandelberg wrote: > >> I get >> >> DataTables warning: table id=job_list - Requested unknown parameter >> 'filetable' for row 0, column 30. For more information about this error, >> please see http://datatables.net/tn/4 >> >> I don't see a job_list table in the mysql bacula database. There are >> >> | Job | >> | JobHisto | >> | JobMedia | >> >> no job_list. >> >> >> >> ___ >> 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 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacularis data table error
Hello Ken, It looks that you have the Bacula Director older than 7.2.0 because the 'filetable' column in the Job table was added in the Bacula table format in version 7.2.0. Unfortunately this Director version is too old for Bacularis. What the Director version are you using? Best regards, Marcin Haba (gani) On Tue, 30 May 2023 at 01:59, Ken Mandelberg wrote: > I get > > DataTables warning: table id=job_list - Requested unknown parameter > 'filetable' for row 0, column 30. For more information about this error, > please see http://datatables.net/tn/4 > > I don't see a job_list table in the mysql bacula database. There are > > | Job | > | JobHisto | > | JobMedia | > > no job_list. > > > > ___ > 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
Re: [Bacula-users] bconsole on bacularis?
Hello Ken, This message comes directly from sudo and it means that you need to add sudo rules in the system for specific program (bconsole, json tools or Bacula component actions) depending on which the wizard step you are. The easiest way to do that is to click on a link in the current wizard step 'Get sudo configuration'. Then you will see a window with the sudo settings. You can copy the configuration to a newly created sudoers.d. file, for example: /etc/sudoers.d/bacularis Please note that for sudo you need to keep the last line empty in the file. Otherwise it will not work. Alternatively you can use visudo to add it. Good luck. Best regards, Marcin Haba (gani) On Mon, 29 May 2023 at 22:12, Ken Mandelberg wrote: > I get stuck configuring with the wizard with > > >Problem with connection to bconsole. Output=>sudo: a terminal is required > to read the password; either use the -S >option to read from standard input > or configure an askpass helper sudo: a password is required, Exitcode=>1 > > Not clear to where the -S option should be set. > > > > ___ > 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
Re: [Bacula-users] Bacularis on Ubuntu 23.04?
Hello Ken, Thanks for your message. Yes, indeed, we didn't have packages for Ubuntu 23.04 because we provide them for Ubuntu LTS releases only. But now we changed it and packages will be provided for every stable Ubuntu release. You can read about it here: https://bacularis.app/news/52/36/Bacularis-package-repository-for-Ubuntu-23.04-Lunar/d,Bacularis%20news%20details Here you can find this new repository with packages for 23.04 Lunar: https://bacularis.app/doc/brief/installation.html#ubuntu-23-04-lunar Thanks and good luck :-) Best regards, Marcin Haba (gani) On Mon, 29 May 2023 at 03:09, Ken Mandelberg wrote: > I'm running Ubuntu 23.04 and want to install bacularis. Bacula itself is > running, but there is no repository package beyond 22.04. Any workaround? > > > > ___ > 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
Re: [Bacula-users] Baculum Restore Wizard Boxes are Empty
Hello Chris, Yes, something had to be wrong in the Bvfs cache. Good to hear that you solved it by clearing it. Best regards, Marcin Haba (gani) On Sat, 27 May 2023 at 22:45, Chris Wilkinson wrote: > I answered my own question when I remembered an old post by Marcin on a > similar issue. The answer there was to clear the bvfs cache with > "clear_bvfs_cache yes" in bconsole. This had the desired effect. > > -Chris- > > On Fri, 26 May 2023, 20:45 Chris Wilkinson, > wrote: > >> When I use the restore wizard and get to step 3 where the file selection >> boxes are, I get an empty path box at the top and empty boxes below with >> this message. >> >> "No file found for selected backup. It can mean file records for this >> backup are pruned. Restoring selected files is not available but if you >> continue, there will be performed full restore all backup files. >> Path: >> >> In the past I have typed / in the path box and the selection box then >> populates. Today this isn't working, the selection box remains empty except >> for .0 and ..0 >> >> The file records haven't been pruned since the backup job had just run >> successfully. If I run the same restore manually, it runs OK and I can >> follow its progress in Baculum as usual. >> >> The one job that the wizard works for is the catalog. This is stored >> locally whereas for all the non-working restores, volumes are stored on >> mounted USB disks or CIFS shares >> >> I wondered if this might be Bacula not seeing the volumes. Ls on the >> storage device shows all volumes are owned by bacula:tape, 0x640 and the SD >> runs as bacula:tape so it doesn't seem to be a permissions issue. Backups >> are working normally. >> >> I turned on debug and ran a restore again but am not seeing anything out >> of the ordinary in the log file. Its 300k so won't post it here. >> >> I'm somewhat stuck now what to check next. Any suggestions would be most >> welcome. >> >> Thanks >> >> -Chris- >> > ___ > 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
[Bacula-users] New release Bacularis 1.6.0
Hello Everybody, We are happy to announce the new release of Bacularis version 1.6.0. This is a new function and bug fix release. We did a couple of important fixes and enhancements, specially to improve application performance but not only. From new features we have new options to configure preserving table settings. It can be useful for users who prefer to customize keeping table settings. >From the binary packages side to our supported repository list we added the Fedora 38 repository. More information is here: https://bacularis.app/news/50/36/Bacularis-package-repository-for-Fedora-38/d,Bacularis%20news%20details Useful links: Release announcement: https://bacularis.app/news/51/36/New-release-Bacularis-1.6.0/d,Bacularis%20news%20details Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app Binary packages 1.6.0 for popular Linux distributions are available already in the package repositories. Docker container images 1.6.0 are available in the Docker Hub repositories. We wish you good installations and upgrades. On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] Baculum Retention Time Units
Hello Chris, Yes, it is. To read Bacula configs Baculum uses the Bacula JSON tools. These tools return values in seconds. If in the future they will support units, Baculum and Bacularis will support it too. Best regards, Marcin Haba (gani) On Wed, 3 May 2023 at 17:03, Chris Wilkinson wrote: > Is it still the case that Baculum writes out Retention time specs always > in seconds and without a unit specifier rather than with the min/hr/day etc > unit in the webform? > > It does seem so since the dir config has the times as unitless after a > config is saved. The default unit is seconds I think. > > This also seems to apply to size specs where they are always saved in > bytes. > > I'm using v11 and haven't looked at Bacularis yet. > > Regards > Chris Wilkinson > ___ > 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
Re: [Bacula-users] Baculum UI tweak : adding columns to volume page view
Hello Lionel, I added this function to Bacularis. Later I ported it to Baculum: https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/f867ed2732d10cbb0e789341fd37a3f905b7db51 Now in the application settings (under gearwheel icon at the top left part of the interface) are three radio options to set preserving table settings: 1) No time limit (persistent settings) 2) Until end of web browser session 3) For specific time Keep table settings for: [2][V hours] Default is selected option 3) with predefined value 2 hours. Users can set in the input own time setting or use option 1) for keeping settings all the time or use option 2) to keep it until closing the web browser. Best regards, Marcin Haba (gani) On Sun, 30 Apr 2023 at 10:45, Marcin Haba wrote: > Hello Lionel, > > The table settings are remembered for 2 hours. > > I think that your idea is good to have an option to switch table settings > to persistent. > > I will try to add it in the near future. I will let know in this thread > too when it is ready. > > Thanks. > > Best regards, > Marcin Haba (gani) > > On Fri, 28 Apr 2023 at 12:27, Lionel PLASSE wrote: > >> Hello, >> >> >> I have not found a way to add a column by default in the Volume page of >> Baculum. I often need to view the "when-expire" column and I'm bored of >> adding it manually eachtime :) >> >> Where can I add it by default (maybe on php files of baculum but... ). A >> config is possible? >> >> Best regards, >> >> >> PLASSE Lionel | Administrateur systŠmes et r‚seaux >> 221 All‚e de F‚tan >> 01600 TREVOUX | Plan d'accŠs >> Tel : 04.37.49.91.39 >> pla...@cofiem.fr >> www.cofiem.fr | www.cofiem-robotics.fr >> >> >> >> >> >> >> >> ___ >> 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 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Baculum UI tweak : adding columns to volume page view
Hello Lionel, The table settings are remembered for 2 hours. I think that your idea is good to have an option to switch table settings to persistent. I will try to add it in the near future. I will let know in this thread too when it is ready. Thanks. Best regards, Marcin Haba (gani) On Fri, 28 Apr 2023 at 12:27, Lionel PLASSE wrote: > Hello, > > > I have not found a way to add a column by default in the Volume page of > Baculum. I often need to view the "when-expire" column and I'm bored of > adding it manually eachtime :) > > Where can I add it by default (maybe on php files of baculum but... ). A > config is possible? > > Best regards, > > > PLASSE Lionel | Administrateur systŠmes et r‚seaux > 221 All‚e de F‚tan > 01600 TREVOUX | Plan d'accŠs > Tel : 04.37.49.91.39 > pla...@cofiem.fr > www.cofiem.fr | www.cofiem-robotics.fr > > > > > > > > ___ > 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
Re: [Bacula-users] List all versions of a file?
Hello Ken, You can use the Bvfs interface for that. Below you can see all file versions: *.bvfs_versions client=darkstar-fd jobid=30389 pathid=28017 fnid=11601289 28017 10076265 10076265 27019 u VcEH1WHw IGk B A A A Bn BAA B BjPqOe Ba6evn Ba6evn A A C 0 E01028L4 1 28017 10558037 10558037 27540 2 VkRefGsw IGk B A A A Bn BAA B BjajMv Ba6evn Ba6evn A A C 0 E01020L4 1 28017 10830280 10830280 28011 3 VbdvRJ7g IGk B A A A Bn BAA B BjkxGz Ba6evn Ba6evn A A C 0 VTL_MAIN_0002_0065 1 28017 10952308 10952308 28347 1 Vepniixg IGk B A A A Bn BAA B BjsWQt Ba6evn Ba6evn A A C 0 VTL_MAIN_0002_0118 1 28017 11177528 11177528 28817 1 VWaI+NMg IGk B A A A Bn BAA B Bj2kKu Ba6evn Ba6evn A A C 0 VTL_MAIN_0002_0163 1 28017 11283578 11283578 28961 2 VbcJT85g IGk B A A A Bn BAA B Bj34kh Ba6evn Ba6evn A A C 0 VTL_MAIN_0002_0170 1 28017 11601289 11601289 30389 BC VlSVRCbA IGk B A A A Bn BAA B BkCbiu Ba6evn Ba6evn A A C 0 VTL_MAIN_0002_0265 1 For metadata, you can take the lstat string from version that you are interested and put it to the Bvfs lstat decode command: *.bvfs_decode_lstat lstat="2 VbcJT85g IGk B A A A Bn BAA B Bj34kh Ba6evn Ba6evn A A C" st_nlink=1 st_mode=33188 perm=-rw-r--r-- st_uid=0 st_gid=0 st_size=103 st_blocks=1 st_ino=94244623601248 st_ctime=1525279719 st_mtime=1525279719 st_atime=1675594017 st_dev=54 LinkFI=0 Baculum and Bacularis in the restore wizard are able to list all file versions with some metadata too. Best regards, Marcin Haba (gani) On Fri, 10 Mar 2023 at 17:35, Ken Mandelberg wrote: > Is there a way to list all versions of a file including metadata? > > > > ___ > 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
Re: [Bacula-users] Baculum 11.6 Adding new section block or File/Dir Field error
Hello Lionel, This is a bug that is fixed in Branch-13.0 starting from version 13.0.0. https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/b706fe1929ae5655eb0899392101f93713e4dffc Best regards, Marcin Haba (gani) On Fri, 10 Mar 2023 at 10:16, Lionel PLASSE wrote: > Hello, > > I'm testing baculum 11.6 with Bacula 13.0.1 on Debian bullseye , php v > 8.2.3 , mysql Ver 15.1 Distrib 10.10.3-MariaDB, apache2 > > All works good except when I want to add an option block or > include/exlude block in a fileset or add a new single file/directory > it always focus on the last current field or block and don't create new > fields or blocks > > It is the same in job section when adding a runscript block > > In firefox (but don't works on edge/chromium too) > TypeError with message "method_exists(): Argument #1 ($object_or_class) > must be of type object|string, null given" in > /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveControlTemplate.php(37) > Stack trace: > #0 > /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveControlTemplate.php(37): > undefined->method_exists() > #1 > /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTemplate.php(108): > DirectiveControlTemplate->getCmdParam() > #2 > /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTemplate.php(190): > DirectiveTemplate->saveValue() > #3 > /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveTextBox.php(46): > DirectiveTemplate->getDirectiveValue() > #4 > /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(129): > DirectiveTextBox->createDirective() > #5 > /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(88): > DirectiveRenderer->createItem() > #6 > /usr/share/baculum/htdocs/protected/Web/Portlets/DirectiveRenderer.php(82): > DirectiveRenderer->createItemInternal() > #7 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1681): > DirectiveRenderer->loadState() > #8 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1250): > Prado\Web\UI\TControl->loadStateRecursive() > #9 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControlCollection.php(65): > Prado\Web\UI\TControl->addedControl() > #10 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Collections/TList.php(144): > Prado\Web\UI\TControlCollection->insertAt() > #11 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(473): > Prado\Collections\TList->add() > #12 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(637): > Prado\Web\UI\WebControls\TRepeater->createItemInternal() > #13 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/WebControls/TRepeater.php(606): > Prado\Web\UI\WebControls\TRepeater->restoreItemsFromViewState() > #14 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControlAdapter.php(71): > Prado\Web\UI\WebControls\TRepeater->loadState() > #15 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1679): > Prado\Web\UI\TControlAdapter->loadState() > #16 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): > Prado\Web\UI\TControl->loadStateRecursive() > #17 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): > Prado\Web\UI\TControl->loadStateRecursive() > #18 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): > Prado\Web\UI\TControl->loadStateRecursive() > #19 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): > Prado\Web\UI\TControl->loadStateRecursive() > #20 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): > Prado\Web\UI\TControl->loadStateRecursive() > #21 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TControl.php(1667): > Prado\Web\UI\TControl->loadStateRecursive() > #22 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(794): > Prado\Web\UI\TControl->loadStateRecursive() > #23 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(340): > Prado\Web\UI\TPage->loadPageState() > #24 > /usr/share/baculum/htdocs/protected/vendor/pradosoft/prado/framework/Web/UI/TPage.php(203): > Prado\Web\UI\TPage->processCallbackRequ
Re: [Bacula-users] [bacularis] permissions error
Hello Elias, Could I ask you about showing output from the 'ls' command? ls -la /opt/bacula/etc Thanks in advance. Best regards, Marcin Haba (gani) On Fri, 10 Mar 2023 at 00:08, Elias Pereira wrote: > > hi, > > I restarted with: > > systemctl restart apache2.service && systemctl restart php7.4-fpm.service > > reboot machine too and the error still occurs. > > Error Error 1000: Internal error. [Warning] > file_put_contents(/opt/bacula/etc/bacula-dir.conf): failed to open stream: > Permission denied (@line 64 in file > /usr/share/bacularis/protected/vendor/bacularis/bacularis-common/Common/Modules/ConfigBacula.php). > > It seems to me that putting the www-data user in the bacula group had no > effect. > > Any suggestions? > > > > On Thu, Mar 9, 2023 at 2:49 PM Marcin Haba wrote: > >> Hello Elias, >> >> If you use Bacula installed in /opt/bacula then the directory to set >> permissions is /opt/bacula/etc, not /opt/bacula. >> >> After changing the web server user group, you need to restart PHP >> (usually php-fpm) or the web server depending on how your web server uses >> PHP. >> >> Please let us know if it helped. >> >> Good luck. >> >> Best regards, >> Marcin Haba (gani) >> >> On Thu, 9 Mar 2023 at 17:16, Elias Pereira wrote: >> >>> hi, >>> >>> I installed bacularis, did the necessary sudo configuration, even >>> followed the faq below to try to fix the permission error. >>> >>> >>> https://bacularis.app/doc/brief/troubleshooting.html#permission-denied-error-when-saving-bacula-configuration >>> >>> - Include user www-data in the bacula group >>> - I set permission 775 for the /opt/bacula folder >>> >>> Still the permission error occurs. >>> >>> Any ideas? >>> >>> -- >>> Elias Pereira >>> ___ >>> 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 >> > > > -- > Elias Pereira > -- "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
Re: [Bacula-users] Baculum 401 Unauthorized
Hello Adam, Thanks for your detailed report. Described behavior is not dangerous but I agree that it is not too natural. It will be fixed in the next release. For now if you want you can try a patch. I am sending it in attachment. It should help for this problem. Best regards, Marcin Haba (gani) On Tue, 7 Mar 2023 at 14:36, Adam Weremczuk wrote: > Hi all, > > Bacula 9.6.7 > Baculum 9.6.6 > Debian 11.6 > > It installed and configured fine: > > - Catalog API > - Console API > - Config API > - Actions (start, stop restart Bacula services): skipped > - Custom SSL cert added for ports 9095 and 9096 > > Bacula and Bacula Web seem to be working fine (backups, restores, tape > management, listings etc.). > > I've noticed though bursts of 8 x 401 errors > /var/log/apache2/baculum-api-access.log happening every minute, e.g: > > 192.168.x.x - - [06/Mar/2023:16:35:09 +] "GET > /api/v1/pools?director=bacula-dir HTTP/1.1" 401 3597 "-" "-" > 192.168.x.x - - [06/Mar/2023:16:35:09 +] "GET > /api/v1/jobs/totals?director=bacula-dir HTTP/1.1" 401 3597 "-" "-" > 192.168.x.x - - [06/Mar/2023:16:35:09 +] "GET > /api/v1/dbsize?director=bacula-dir HTTP/1.1" 401 3597 "-" "-" > 192.168.x.x - - [06/Mar/2023:16:36:09 +] "GET > /api/v1/jobs?director=bacula-dir HTTP/1.1" 401 3597 "-" "-" > 192.168.x.x - - [06/Mar/2023:16:36:09 +] "GET > /api/v1/jobs/?jobstatus=CR=bacula-dir HTTP/1.1" 401 3597 "-" "-" > 192.168.x.x - - [06/Mar/2023:16:36:09 +] "GET > /api/v1/clients?director=bacula-dir HTTP/1.1" 401 3597 "-" "-" > 192.168.x.x - - [06/Mar/2023:16:36:09 +] "GET > /api/v1/pools?director=bacula-dir HTTP/1.1" 401 3597 "-" "-" > > 192.168.x.x is the IP of Bacula director. > > No clues in error logs from the same day: > > cat /var/log/apache2/error.log.1 > [Mon Mar 06 00:00:01.618268 2023] [mpm_prefork:notice] [pid 1881723] > AH00163: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming > normal operations > [Mon Mar 06 00:00:01.618291 2023] [core:notice] [pid 1881723] AH00094: > Command line: '/usr/sbin/apache2' > [Tue Mar 07 00:00:02.124967 2023] [mpm_prefork:notice] [pid 1881723] > AH00171: Graceful restart requested, doing restart > > cat /var/log/apache2/baculum-api-error.log.1 > [Mon Mar 06 00:00:01.618032 2023] [ssl:warn] [pid 1881723] AH01909: > localhost:443:0 server certificate does NOT include an ID which matches > the server name > > cat /var/log/apache2/baculum-web-error.log.1 > [Mon Mar 06 00:00:01.617261 2023] [ssl:warn] [pid 1881723] AH01909: > localhost:443:0 server certificate does NOT include an ID which matches > the server name > > > Daily AIDE log digest gives me this: > > - httpd Begin > > 64.55 MB transferred in 12133 responses (1xx 0, 2xx 6639, 3xx 6, 4xx > 5488, 5xx 0) > 7 Images (0.03 MB), > 3553 Content pages (15.71 MB), > 8573 Other (48.81 MB) > > Requests with error response codes > 400 Bad Request > /: 2 Time(s) > 401 Unauthorized > /api/v1/jobs/?jobstatus=CR=bacula-dir: 869 Time(s) > /api/v1/clients?director=bacula-dir: 823 Time(s) > /api/v1/jobs?director=bacula-dir: 817 Time(s) > /api/v1/dbsize?director=bacula-dir: 812 Time(s) > /api/v1/jobs/totals?director=bacula-dir: 812 Time(s) > /api/v1/pools?director=bacula-dir: 812 Time(s) > /api/v1/status/client/?name=client1-fd= ... > ector=bacula-dir: 148 Time(s) > /api/v1/clients/4?director=bacula-dir: 74 Time(s) > /api/v1/jobs/?name=restore=15000=bacula-dir: 50 > Time(s) > /api/v1/joblog/64/?show_time=0=bacula-dir: 43 Time(s) > /api/v1/jobs/64?director=bacula-dir: 42 Time(s) > /api/v1/config?director=bacula-dir: 19 Time(s) > (...) > > What authorization is missing and how to fix it? > > Regards, > Adam > > > ___ > 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 diff --git a/gui/baculum/protected/Web/Modules/BaculumAPIClient.php b/gui/baculum/protected/Web/Modules/BaculumAPIClient.php index 61c19cf877..5c5c2e17d7 100644 --- a/gui/baculum/protected/Web/Modules/BaculumAPIClient.php +
Re: [Bacula-users] [bacularis] permissions error
Hello Elias, If you use Bacula installed in /opt/bacula then the directory to set permissions is /opt/bacula/etc, not /opt/bacula. After changing the web server user group, you need to restart PHP (usually php-fpm) or the web server depending on how your web server uses PHP. Please let us know if it helped. Good luck. Best regards, Marcin Haba (gani) On Thu, 9 Mar 2023 at 17:16, Elias Pereira wrote: > hi, > > I installed bacularis, did the necessary sudo configuration, even followed > the faq below to try to fix the permission error. > > > https://bacularis.app/doc/brief/troubleshooting.html#permission-denied-error-when-saving-bacula-configuration > > - Include user www-data in the bacula group > - I set permission 775 for the /opt/bacula folder > > Still the permission error occurs. > > Any ideas? > > -- > Elias Pereira > ___ > 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
Re: [Bacula-users] Baculum, LDAP and disable the 'server basic auth'...
Hello d09, Yes, you can. In the documentation is written for the local user authentication: "This type of authentication is realized by HTML form in the Baculum Web. Once this method is enabled, the web server basic authentication can be disabled." Best regards, Marcin Haba (gani) On Sun, 5 Feb 2023 at 18:00, wrote: > > How do I enable "local user" authentication so I can disable the > apache-based authentication? The docs don't say. > > --- > > On 2/5/2023 6:44 AM, Marcin Haba wrote: > > Hello Marco, > > > > Thanks for confirmation and for the idea to add to the documentation > > information about disabling the basic authentication. > > > > I have added it: > > > > https://baculum.app/doc/brief/configuration.html#baculum-web > > <https://baculum.app/doc/brief/configuration.html#baculum-web> > > > > Best regards, > > Marcin Haba (gani) > > > > On Fri, 3 Feb 2023 at 15:07, Marco Gaiarin > <mailto:g...@lilliput.linux.it>> wrote: > > > > Mandi! Marcin Haba > >In chel di` si favelave... > > > > > If you use LDAP authentication, all this Apache block with Basic > > auth can be > > > removed. In this place you can write: > > > > > > # Apache 2.4 > > > > > > > > >Require all granted > > > > > > > > > > Bingo! It worked! > > > > > > Can be written somewhhere, eg in documentation and/or in the apache > > virtualhost file example? > > > > I've written, for example: > > > > # Apache 2.4 > > > > > > # Using 'HTTP Basic' authentication, > > comment for other method. > > #SetEnvIf Request_URI "^/web/redirect$" > > noauth=1 > > # > > # > > # > > # Require env noauth > > # Require env > > REDIRECT_noauth > > # > > # Require all granted > > # > > # > > # AuthType Basic > > # AuthName "Baculum Auth" > > # AuthUserFile > > /usr/share/baculum/htdocs/protected/Web/Config/baculum.users > > # Require not env noauth > > # Require not env > REDIRECT_noauth > > # Require valid-user > > # > > # > > > > # Using 'Local user' or 'LDAP' > > authentication, comment for 'HTTP Basic'. > > Require all granted > > > > > > > > > > Thanks! > > > > > > ___ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > <mailto:Bacula-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > <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 > > > ___ > 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
Re: [Bacula-users] Baculum, LDAP and disable the 'server basic auth'...
Hello Marco, Thanks for confirmation and for the idea to add to the documentation information about disabling the basic authentication. I have added it: https://baculum.app/doc/brief/configuration.html#baculum-web Best regards, Marcin Haba (gani) On Fri, 3 Feb 2023 at 15:07, Marco Gaiarin wrote: > Mandi! Marcin Haba > In chel di` si favelave... > > > If you use LDAP authentication, all this Apache block with Basic auth > can be > > removed. In this place you can write: > > > > # Apache 2.4 > > > > > >Require all granted > > > > > > Bingo! It worked! > > > Can be written somewhhere, eg in documentation and/or in the apache > virtualhost file example? > > I've written, for example: > > # Apache 2.4 > > > # Using 'HTTP Basic' authentication, comment for > other method. > #SetEnvIf Request_URI "^/web/redirect$" noauth=1 > # > # > # > # Require env noauth > # Require env REDIRECT_noauth > # > # Require all granted > # > # > # AuthType Basic > # AuthName "Baculum Auth" > # AuthUserFile > /usr/share/baculum/htdocs/protected/Web/Config/baculum.users > # Require not env noauth > # Require not env REDIRECT_noauth > # Require valid-user > # > # > > # Using 'Local user' or 'LDAP' authentication, > comment for 'HTTP Basic'. > Require all granted > > > > > Thanks! > > > ___ > 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
Re: [Bacula-users] Baculum, LDAP and disable the 'server basic auth'...
Hello Marco, If you use LDAP authentication, all this Apache block with Basic auth can be removed. In this place you can write: # Apache 2.4 Require all granted Good luck. Best regards, Marcin Haba (gani) On Tue, 31 Jan 2023 at 22:43, Marco Gaiarin wrote: > > I've installed baculum using debian packages, all works as expected and > flawlessy. > > Now i've tried to add LDAP auth support, also successfuly: auth wprks, user > imported. > > But if i try to login, the HTTP 'basic auth' popup of the default user > 'admin' created in setup phase still want the 'admin' password. > > I've understood that (from docs): > > LDAP > The Baculum Web can connect to the LDAP server to authenticate LDAP > users. This method is realized by a HTML form in the Baculum Web. > Once this method is enabled, the web server basic authentication can be > disabled. > > > And i've on the apache virtualhost an entry like: > > # Apache 2.4 > > > SetEnvIf Request_URI "^/web/redirect$" noauth=1 > > > > Require env noauth > Require env REDIRECT_noauth > > Require all granted > > > AuthType Basic > AuthName "Baculum Auth" > AuthUserFile > /usr/share/baculum/htdocs/protected/Web/Config/baculum.users > Require not env noauth > Require not env REDIRECT_noauth > Require valid-user > > > > > > I have to comment all the entry? Modify how? > > > Thanks. > > -- > STOP. I wanna go home > take off this uniform and leave the show (Pink Floyd) > > > > > ___ > 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
Re: [Bacula-users] build bacula-web 13
Hello Karl, To build Baculum packages I would propose to do the following four steps: 1. Remove debian/ directory from your 13.0 working copy 2. Get the debian/ directory from this tar archive and put it to 13.0 sources: https://www.bacula.org/downloads/baculum/stable-11/debian/pool/main/b/baculum/baculum_11.0.6~bullseye.tar.xz 3. Update paths in debian/ files because since version 11.0 some paths in Baculum have changed. The major change is renamed 'Class' directory into 'Modules'. 4. Update the changelog and run dpkg-buildpackage Good luck! Best regards, Marcin Haba (gani) On Fri, 30 Dec 2022 at 22:06, Mag. Dr. Karl Kashofer wrote: > Hi ! > I try to build bacula-gui version 13 on debian bullseye. > I removed the dh-systemd requirement from debian/control as it does not > exist in bullseye. > > wget -O bacula-gui-13.0.1.tar.gz https://www.bacula.org/download/11140/ > > Doing "dpkg-buildpackage -us -uc" in the build tree yields: > > sed -i -e "s#%DOCUMENTROOT#/usr/share/baculum/htdocs#g" -e > "s#%LOGDIR#/var/log/lighttpd#g" build/etc/baculum/baculum-web-lighttpd.conf > sed -i -e "s#%CONFDIR#/etc/baculum#g" > build/usr/lib/systemd/system/baculum-api-lighttpd.service > sed -i -e "s#%CONFDIR#/etc/baculum#g" > build/usr/lib/systemd/system/baculum-web-lighttpd.service > find build/ -type f -name .gitignore -exec rm -f {} \; > make[2]: Leaving directory '/bacula-gui-13.0.1/baculum' > make[1]: Leaving directory '/bacula-gui-13.0.1/baculum' > dh_auto_test > dh_auto_test: warning: Compatibility levels before 10 are deprecated > (level 9 in use) > debian/rules binary > dh binary --with=systemd > dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) > dh_testroot > dh_prep > dh_installdirs > dh_installdirs: warning: Compatibility levels before 10 are deprecated > (level 9 in use) > dh_auto_install > dh_auto_install: warning: Compatibility levels before 10 are deprecated > (level 9 in use) > dh_install > dh_install: warning: Compatibility levels before 10 are deprecated (level > 9 in use) > dh_install: warning: Cannot find (any matches for) > "build/usr/share/baculum/htdocs/protected/API/Class" (tried in ., > debian/tmp) > > dh_install: warning: baculum-api missing files: > build/usr/share/baculum/htdocs/protected/API/Class > dh_install: warning: Cannot find (any matches for) > "build/usr/share/baculum/htdocs/protected/API/JavaScript" (tried in ., > debian/tmp) > > dh_install: warning: baculum-api missing files: > build/usr/share/baculum/htdocs/protected/API/JavaScript > dh_install: warning: Cannot find (any matches for) > "build/usr/share/baculum/htdocs/protected/Web/Class" (tried in ., > debian/tmp) > > dh_install: warning: baculum-web missing files: > build/usr/share/baculum/htdocs/protected/Web/Class > dh_install: error: missing files, aborting > make: *** [debian/rules:15: binary] Error 255 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit > status 2 > root@01dd73cbda6a:/bacula-gui-13.0.1/baculum# > > > Any idea what is missing to build the debian packages ? > Thanks, KK > > ___ > 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
[Bacula-users] New release Bacularis 1.3.0
Hello Everybody, We are glad to announce a new Bacularis version 1.3.0. This is a new feature and bug fix release. The main change is adding support for new directives that come from Bacula 13. We also enabled support for Oracle Linux 8 and 9 both for the deployment function and for binary packages as well. Also an important change is enabling support for PostgreSQL 15. At the end we updated the SELinux policy module and we did a couple of fixes. Main changes: Bacularis Web - Add new Bacula 13.0 directives support - Add Oracle Linux 8 and 9 support for deployment - Add storage group and storage group policy directives support - Add new OrderedListBox control - Fix losing autochanger directive value in storage resource in director configuration - Fix remove resource button availability - Fix StorageGroupPolicy directive section Bacularis API - Add support for PostgreSQL 15 - reported by Hiroto Iwasawa - Fix text color in add autochanger window - reported by Sergey Zhidkov Bacularis Common - Update SELinux policy module - Fix dark mode issues in search label and label media window - reported by Sergey Zhidkov - Fix text wrapping in status director page - reported by Sergey Zhidkov Useful links: Release announcement: https://bacularis.app/news/44/36/New-release-Bacularis-1.3.0/d,Bacularis%20news%20details Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app Binary packages 1.3.0 for popular Linux distributions are available already in the package repositories. Docker container images 1.3.0 are available in the Docker Hub repositories. We wish you successful installations and upgrades. On behalf of the Bacularis Team Marcin Haba (gani) -- "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
Re: [Bacula-users] Baculum vs Bacularis
Hello d09, Thanks for reporting missing Oracle Linux packages. They have been built and they are available for OL 8 and 9. You can read about it in this announcement: https://bacularis.app/news/42/36/Bacularis-package-repository-for-Oracle-Linux-8-and-9/d,Bacularis%20news%20details The repositories definition is here: https://bacularis.app/doc/brief/installation.html#oracle-linux-8 Best regards, Marcin Haba (gani) On Wed, 7 Dec 2022 at 19:00, wrote: > > Excellent. One more thing. I am looking at the Bacularis packages for > the different distros. I noticed there aren't ones specifically for > ol/rhel 8 and 9. Will there be? We run Oracle Linux 8 (ol8) and will > be upgrading to ol9. Since Bacularis doesn't contain any binaries, > can/should I use the centosstream8 and centosstream9 packages? > > Just FYI, Oracle Linux (an rhel redist like CentOS Linux use to be) can > be downloaded from Oracle for free in case you want to make packages > specifically for ol/rhel 8 and 9. Download from here: > https://yum.oracle.com/oracle-linux-isos.html > > Thanks for your help. > > --- > > > On 12/6/2022 10:14 PM, Marcin Haba wrote: > > Hello d09, > > > > Baculum and Bacularis can coexist on the same host out of the box. There > > is not any barrier for that. More information about it you can find here: > > > > > https://bacularis.app/doc/brief/installation.html#bacularis-installation-on-host-with-baculum > < > https://bacularis.app/doc/brief/installation.html#bacularis-installation-on-host-with-baculum > > > > > > Best regards, > > Marcin Haba (gani) > > > > On Wed, 7 Dec 2022 at 02:15, > <mailto:d...@bornfree.org>> wrote: > > > > > > Thanks for the info. I will give Bacularis a test-drive. Any reason > > why I couldn't or shouldn't install Bacularis on the same webserver > > where I have Baculum 11 running? > > > > --- > > > > On 12/5/2022 9:05 PM, Marcin Haba wrote: > > > Hello d09, > > > > > > Baculum and Bacularis are two different projects with different > > > assumptions. It is true that Bacularis provides more functions > > and it is > > > developed faster than Baculum, but in my opinion it is a bit too > > early > > > to say about replacing Baculum by Bacularis. I don't know what > > will be > > > in the future. I wish both web interfaces all the best. > > > > > > Bacularis is a relatively new project. By the way, today is first > > > anniversary of Bacularis' creation ( see > > > > > > https://bacularis.app/news/41/36/First-anniversary.-Happy-birthday-to-Bacularis/d,Bacularis%20news%20details > < > https://bacularis.app/news/41/36/First-anniversary.-Happy-birthday-to-Bacularis/d,Bacularis%20news%20details> > < > https://bacularis.app/news/41/36/First-anniversary.-Happy-birthday-to-Bacularis/d,Bacularis%20news%20details > < > https://bacularis.app/news/41/36/First-anniversary.-Happy-birthday-to-Bacularis/d,Bacularis%20news%20details>> > ). We will see in the future what will happen. The Bacularis mission is to > help users use Bacula in as easiest way as possible. I hope it will be > realized with success by next years. > > > > > > For your question about Baculum 11 and binary packages, yes, it > > is the > > > latest version and it is compatible with Bacula Community 13.0. > > > > > > Best regards, > > > Marcin Haba (gani) > > > > > > On Tue, 6 Dec 2022 at 01:50, > <mailto:d...@bornfree.org> > > > <mailto:d...@bornfree.org <mailto:d...@bornfree.org>>> wrote: > > > > > > Is Bacularis intended to replace Baculum? Also, is Baculum 11 > > > (https://www.bacula.org/downloads/baculum/stable-11/ > > <https://www.bacula.org/downloads/baculum/stable-11/> > > > <https://www.bacula.org/downloads/baculum/stable-11/ > > <https://www.bacula.org/downloads/baculum/stable-11/>>) the latest > > > version > > > and is it compatible with Bacula Community server v13.0? > > > > > > > > > ___ > > > Bacula-users mailing list > > > Bacula-users@lists.sourceforge.net > > <mailto:Bacula-users@lists.sourceforge.net> > > > <mailto:Bacula-users@lists.sourceforge.net > > &l
Re: [Bacula-users] Baculum vs Bacularis
Hello d09, Baculum and Bacularis can coexist on the same host out of the box. There is not any barrier for that. More information about it you can find here: https://bacularis.app/doc/brief/installation.html#bacularis-installation-on-host-with-baculum Best regards, Marcin Haba (gani) On Wed, 7 Dec 2022 at 02:15, wrote: > > Thanks for the info. I will give Bacularis a test-drive. Any reason > why I couldn't or shouldn't install Bacularis on the same webserver > where I have Baculum 11 running? > > --- > > On 12/5/2022 9:05 PM, Marcin Haba wrote: > > Hello d09, > > > > Baculum and Bacularis are two different projects with different > > assumptions. It is true that Bacularis provides more functions and it is > > developed faster than Baculum, but in my opinion it is a bit too early > > to say about replacing Baculum by Bacularis. I don't know what will be > > in the future. I wish both web interfaces all the best. > > > > Bacularis is a relatively new project. By the way, today is first > > anniversary of Bacularis' creation ( see > > > https://bacularis.app/news/41/36/First-anniversary.-Happy-birthday-to-Bacularis/d,Bacularis%20news%20details > < > https://bacularis.app/news/41/36/First-anniversary.-Happy-birthday-to-Bacularis/d,Bacularis%20news%20details> > ). We will see in the future what will happen. The Bacularis mission is to > help users use Bacula in as easiest way as possible. I hope it will be > realized with success by next years. > > > > For your question about Baculum 11 and binary packages, yes, it is the > > latest version and it is compatible with Bacula Community 13.0. > > > > Best regards, > > Marcin Haba (gani) > > > > On Tue, 6 Dec 2022 at 01:50, > <mailto:d...@bornfree.org>> wrote: > > > > Is Bacularis intended to replace Baculum? Also, is Baculum 11 > > (https://www.bacula.org/downloads/baculum/stable-11/ > > <https://www.bacula.org/downloads/baculum/stable-11/>) the latest > > version > > and is it compatible with Bacula Community server v13.0? > > > > > > ___ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > <mailto:Bacula-users@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > <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 > -- "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
Re: [Bacula-users] Baculum vs Bacularis
Hello d09, Baculum and Bacularis are two different projects with different assumptions. It is true that Bacularis provides more functions and it is developed faster than Baculum, but in my opinion it is a bit too early to say about replacing Baculum by Bacularis. I don't know what will be in the future. I wish both web interfaces all the best. Bacularis is a relatively new project. By the way, today is first anniversary of Bacularis' creation ( see https://bacularis.app/news/41/36/First-anniversary.-Happy-birthday-to-Bacularis/d,Bacularis%20news%20details ). We will see in the future what will happen. The Bacularis mission is to help users use Bacula in as easiest way as possible. I hope it will be realized with success by next years. For your question about Baculum 11 and binary packages, yes, it is the latest version and it is compatible with Bacula Community 13.0. Best regards, Marcin Haba (gani) On Tue, 6 Dec 2022 at 01:50, wrote: > Is Bacularis intended to replace Baculum? Also, is Baculum 11 > (https://www.bacula.org/downloads/baculum/stable-11/) the latest version > and is it compatible with Bacula Community server v13.0? > > > ___ > 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
Re: [Bacula-users] baculum
Hello Agiofws, It depends what Baculum functions you are going to use. Baculum API provides the following functions: - catalog access - bconsole access - Bacula configuration - component actions (start/stop/restart) For the catalog and bconsole you can install Baculum API on any host with configured bconsole and with remote or local access to the catalog. If you are going to configure Bacula using Baculum, then you need to install Baculum API on host(s) with the Bacula components (Director/Storage/Client/Bconsole). This way Baculum will be able to read/write Bacula configuration files. The same applies to the component actions function that Baculum API needs to be on the same host as the Bacula components. Please also note that Baculum consists of two applications: API and Web. The above description is about API. The Web can be installed anywhere where it can be connected via HTTP(S) to the API hosts. Best regards, Marcin Haba (gani) On Mon, 5 Dec 2022 at 21:55, Agiofws Holylight wrote: > Where do i install baculum a) on the host that the bacula is installed on > or the host that i'll use to connect to bacula through baculum? > > Which GUI would you recommend? baculum or Bat? > > Thank you C.M > ___ > 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
Re: [Bacula-users] Baculum
Hello Agiofws, If I understood you well, you have Bacula 9.6 and you would like to use Baculum 11 with it. Answer for this question you can find in the documentation: " Baculum 11.0 works with Bacula < 11.0 but two file list specific functions does not work: - searching jobs by filename in the restore wizard - the file list on the finished backup job page " https://www.bacula.org/13.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION00210 Best regards, Marcin Haba (gani) On Wed, 30 Nov 2022 at 20:08, Agiofws Holylight wrote: > Can I install baculum with bacula director version 9.6.x in debian 11 or > do I have to upgrade to bacula 11? > ___ > 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
Re: [Bacula-users] surrounding @@ on menus and field names
Hello Lionel, The "@@" marker is displayed around texts if the translation file for your language is not available. You need to copy the translation file (messages.mo) to the proper location. It is the following relative destination path: For API: protected/API/Lang// For Web: protected/Web/Lang// Good luck! Best regards, Marcin Haba (gani) On Wed, 30 Nov 2022 at 17:17, Lionel PLASSE wrote: > Hello, > > I just made a new installation of bacula 9.6.7 and Bacula web baculum in > order to make some extra production tests > > I was suprised to see in the bauculum interface some @@ before and after > menus names , surrounding each field names > > Like @@Welcome@@ or @@Pools@@ or @@Clients:@@ > > I don't remember having have such a problem in my former installation. > > Some help needed :-) > > > PLASSE Lionel | Administrateur systŠmes et r,seaux > 221 All,e de F,tan > 01600 TREVOUX | Plan d'accŠs > Tel : 04.37.49.91.39 > pla...@cofiem.fr > www.cofiem.fr | www.cofiem-robotics.fr > > > > > > > > ___ > 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
Re: [Bacula-users] Baculum LDAP
Hello Nick, The option that you need to use is placed at the same page as the LDAP settings, but at the top. It is: "Default access setting for logged in users not defined in Baculum Web:" If you select a radio button with label "No access", then only users imported to Baculum Web will be able to have access to the interface. Good luck! Best regards, Marcin Haba (gani) On Mon, 28 Nov 2022 at 16:57, Nick Bright wrote: > Greetings, > > I'm tinkering with the LDAP authentication for Baculum web interface, > which was very simple to get "working" - but I'm having difficulty > finding any documentation about filtering the users which are allowed to > connect. > > The issue is that any user is able to log in as a "Normal User", when > only the ops department should be allowed to log in. > > Most systems have a filter where you could specify one (or a list) of > groups which are allowed, but I'm not seeing such a function. > > Is it possible to put proper group based permissions in place with LDAP > in Baculum? > > -- > - > - Nick Bright - > - KwiKom Communications- > - Office 800-379-7292 - > - Direct 620-228-5653 - > - Web https://www.kwikom.com/ - > - > > > > ___ > 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
Re: [Bacula-users] baculum restore wizard problem
Hello Karl, Thanks for providing the debug log. You are trying to restore the file "Screencast_2021-06-25_15:10:14.webm". The command responsible for creating the temporary Bvfs table for this restore fails with the following error message "Can't create restore list": [0] => .bvfs_restore jobid="3,1" path="b2460" fileid="14" [1] => Using Catalog "MyCatalog" [2] => Can't create restore list For me the Baculum part looks correct. From this reason I would propose to look in the Bacula Director to find an answer on the question why the temporary Bvfs table is not created. For this purpose you can enable debug on the Director side by the following Bconsole command: setdebug level=100 trace=1 tags=bvfs,sql dir When you go through the Baculum restore wizard once again in your Bacula Director working directory (defined in bacula-dir.conf in the WorkingDirectory directive) you will see a new file named: your_director_name.trace In this file will be logged all SQL queries from Bvfs commands. One from them will fail for some reason and the reason will tell us why you are not able to do the restore. Good luck. Best regards, Marcin Haba (gani) On Mon, 14 Nov 2022 at 15:06, Mag. Dr. Karl Kashofer wrote: > Hi Marcin ! > > Thanks for your help, i have generated and a log from the > failing request, posted here: > > https://pastebin.com/EUXemHZM > > Do you see anything obvious in there ? > > Cheers, > KK > > Am Montag, dem 14.11.2022 um 04:55 +0100 schrieb Marcin Haba: > > Hello Karl, > > > > The problem here is because from some reason the Bvfs temporary > > table 'b25796' has not been created. The bconsole command that > > creates this temporary table is .bvfs_restore. > > > > To see the problem, I would propose to enable debug in the Baculum > > API, then do a restore try once again and check in the debug file > > what is output from .bvfs_restore. > > > > Good luck. > > > > Best regards, > > Marcin Haba (gani) > > > > On Sun, 13 Nov 2022 at 12:25, Mag. Dr. Karl Kashofer > > wrote: > > > Hi ! > > > > > > I use baculum 11.0.6 from docker image pwa666/bacula-server:latest > > > > > > I successfully generated file storage and set up clients via > > > baculum. > > > I then did a backup job from my laptop for testing. > > > It is generated OK. > > > > > > However, when i try to restore anything from the backup via the > > > restore wizard i get: > > > > > > > Error > > > > > > > > restore client="Karl Laptop" file="?b25796" replace="never" > > > > restorejob="RestoreFiles" where="/tmp/restore" yes > > > > Using Catalog "MyCatalog" > > > > Query failed: SELECT JobId, FileIndex FROM b25796 ORDER BY > > > JobId, > > > > FileIndex ASC. ERR=Query failed: SELECT JobId, FileIndex FROM > > > b25796 > > > > ORDER BY JobId, FileIndex ASC: ERR=no such table: b25796 > > > > > > > > No table found: b25796 > > > > No files selected to be restored. > > > > > > When i select different files for restore, the number in bXXX > > > changes. > > > > > > Inspecting the bacula.db i see no tables with that bXXX names, nor > > > anything resembling that. > > > > > > Any help appreciated. > > > Regards, > > > Karl > > > > > > > > > > > > > > > ___ > > > 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
Re: [Bacula-users] baculum restore wizard problem
Hello Karl, The problem here is because from some reason the Bvfs temporary table 'b25796' has not been created. The bconsole command that creates this temporary table is .bvfs_restore. To see the problem, I would propose to enable debug in the Baculum API, then do a restore try once again and check in the debug file what is output from .bvfs_restore. Good luck. Best regards, Marcin Haba (gani) On Sun, 13 Nov 2022 at 12:25, Mag. Dr. Karl Kashofer wrote: > Hi ! > > I use baculum 11.0.6 from docker image pwa666/bacula-server:latest > > I successfully generated file storage and set up clients via baculum. > I then did a backup job from my laptop for testing. > It is generated OK. > > However, when i try to restore anything from the backup via the > restore wizard i get: > > > Error > > > > restore client="Karl Laptop" file="?b25796" replace="never" > > restorejob="RestoreFiles" where="/tmp/restore" yes > > Using Catalog "MyCatalog" > > Query failed: SELECT JobId, FileIndex FROM b25796 ORDER BY JobId, > > FileIndex ASC. ERR=Query failed: SELECT JobId, FileIndex FROM b25796 > > ORDER BY JobId, FileIndex ASC: ERR=no such table: b25796 > > > > No table found: b25796 > > No files selected to be restored. > > When i select different files for restore, the number in bXXX changes. > > Inspecting the bacula.db i see no tables with that bXXX names, nor > anything resembling that. > > Any help appreciated. > Regards, > Karl > > > > > ___ > 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
[Bacula-users] New release Bacularis 1.2.1
Hello Everybody, We are happy to announce a new Bacularis release 1.2.1. This is a minor bug fix and new feature release. The main change is a new Korean translation prepared by Seungwan Ryu. This translation is both for the web interface side and for the Bacularis API panel as well. Besides of that we did a few fixes in the API and Web parts. Main changes: Bacularis Web - Add Korean language - Update Polish translations - Fix advanced date filters on job history page - Fix text wrapping in log types line - Temporarily disable French language selection until translation is ready - Add generated Korean translation MO file - Add Seungwan to AUTHORS Bacularis API - Add Korean language - Update Polish translations - Fix full restore method to not select latest backup by default - reported by Philippe Delalande - Add restoreclient parameter to restore endpoint - Add documentation for restoreclient parameter - Temporarily disable French language selection until translation is ready - Add generated Korean translation MO file - Add Seungwan to AUTHORS Useful links: Release announcement: https://bacularis.app/news/40/36/New-release-Bacularis-1.2.1/d,Bacularis%20news%20details Documentation: https://bacularis.app/doc Online demo: https://demo.bacularis.app Binary packages 1.2.1 for popular Linux distributions are available already in the package repositories. Docker container images 1.2.1 are available in the Docker Hub repositories. We wish you successful installations and upgrades. Best regards, Marcin Haba (gani) -- "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
Re: [Bacula-users] Baculum recovery does not show directory structure 13.
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 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 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 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" >&g
Re: [Bacula-users] Baculum recovery does not show directory structure 13.
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 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 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/| >>> +--+ >>> >>> +---+-+-+--+---+--+---+--
Re: [Bacula-users] Baculum recovery does not show directory structure 13.
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 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 < 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 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] All fields on dashbord are empty
Hello, I would propose to look at Baculum API connection to the Bacula Catalog database. It looks that something is wrong here. Normally if something goes wrong with the connection, you should see a window with a detailed message about what is wrong. If you don't see it then I would also advise to check if the Baculum API is connected to the same Catalog database as Bacula is. In any case it might be good to look at the connection Baculum API <=> Catalog Database. On the API settings page in the "Catalog" tab there is possible to do a connection test. Good luck. Best regards, Marcin Haba (gani) On Wed, 26 Oct 2022 at 10:05, Осташев Сергей Юрьевич wrote: > Hello! > > I have a problem with baculum. > > All fields on dashbord are empty. > > Job history list, Client list, Pool list, Volume list - also no any data. > > But Job list, Storage list, FileSet list, Schedule list - have data. > > I'm already reinstall baculum-web pacage, but nothing changes. > > > > In developer tools of chrome there is a error in Console: > > > > graph.js?ver=14:1281 Uncaught TypeError: Cannot convert undefined or null > to object > > at Function.keys () > > at klass.prepare_series (graph.js?ver=14:1281:26) > > at klass.initialize (graph.js?ver=14:1275:22) > > at new klass (prado.js:103:25) > > at Object.update_pie_jobstatus (misc.js?ver=14:569:14) > > at Object.update_all (misc.js?ver=14:482:8) > > at Object.success ((index):558:16) > > at fire (jquery.js:3268:31) > > at Object.fireWith [as resolveWith] (jquery.js:3398:7) > > at done (jquery.js:9305:14) > > > > I think it has something to do with my problem. > > > ___ > 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