Bacula-web is a php based web program that provides you a summarized output
of jobs that have already run. It obtains its information from your catalog
database. Aside from a nice graphical display, it provides summaries of your
jobs, as well as graphs of job usage. This is a fairly high level bacula
management tool. Here are a few points that one user made concerning this
important tool:
- It is web-based so can be accessed from anywhere.
- It is "read only" users can examine the state of the backups but not write
to anything and therefore do no damage
- It packs a phenomenal amount of information into a single web-page - that I
credit as being very good design!
The documentation for bacula-web can be found in a separate bacula-web
document in the bacula-docs release.
===> The following configuration options are available for bacula-web-php83-9.8.0:
MYSQL=on: MySQL database support
PGSQL=on: PostgreSQL database support
SQLITE=on: SQLite database support
===> Use 'make config' to modify these settings
Please note that everything has been installed in /usr/local/www/bacula-web.
Make sure to install dependencies with:
cd /usr/local/www/bacula-web && composer i
Create inital user:
su -m www -c "cd /usr/local/www/bacula-web && php bwc setupauth"
Make sure you modify /usr/local/www/bacula-web/application/config/config.php to your needs.
The installed config.php should work with the standard setup already.
Use the manual as a reference:
http://docs.bacula-web.org/en/v8.3.3/02_install/configure.html
Depending on the webserver you use,
you will probably want to add an alias to your httpd.conf file, something
like this:
Alias /bacula-web "/usr/local/www/bacula-web/"
And restart Apache.
If upgrading
Make sure to update dependencies with:
cd /usr/local/www/bacula-web; composer i
If removing:
You would like to delete:
rm -R /usr/local/www/bacula-web
www/bacula-web: update to 8.7.0
ChangeLog:
Core
Using vlucas/valitron for user input validation
Bumped FontAwesome to version 6.2.0 (#141)
PHP versions
7.4 is now the minimal supported versions, older versions are not supported
anymore (#143)
extended support for PHP 8.1 (#147)
Separated some templates into application/views/templates/partials folder (#144)
Removed Composer lock file from git repository
To avoid any potential issues for users using different version of PHP,
composer.lock has been removed from the Git repo
Fixed how MVC is implemented by using psr-15 http-handler (#145)
Added router and user authentication middlewares
(Only the first 15 lines of the commit message are shown above )
www/bacula-web: upgrade to 8.6.3
Changelog
General
Fixed Composer dependency problem with smarty/smarty (see #131)
Bumped smarty/smarty to version 4.2.1
Improved support for PHP >= 8.0
Fixed PSR12 code style warnings
Improved testing and code coverage (see #133)
The error page was too verbose, even while not in debug mode (see #134)
Test page
Test page was not checking correctly the permissions on the protected
assets folder (see #136)
(Only the first 15 lines of the commit message are shown above )
www/bacula-web: update to 8.6.2
ChangeLog:
General
Fixed a regression introduced in v8.6.1
Using Bacula-Web console to setup authentication was throwing an error
Big thanks to @IdahoPL for reporting the issue
Fixed bug(s)
been sent
New feature(s)
none
www/bacula-web: upgrade to 8.6.1
ChangeLog:
Bacula-Web 8.6.1 (October 19th 2022)
Changelog
General
User will stay on current page when switching to another catalog (see
Fixed Bacula catalog selector
Using several Bacula catalog, the catalog selector was broken for some
pages (see #120)
Web browser will not ask a form submission while moving back from Job
logs report page (see #30)
Fixed how pagination count rows per page (see #123)
Bump Composer dependencies to latest version
(Only the first 15 lines of the commit message are shown above )
www/bacula-web: upgrade to 8.6.0
Changelog
General
Breaking change: Implemented front controller
Bacula-Web web app is now served from the public sub-folder, please
check the web server config documentation (see #114)
Replaced CHttpRequest class by Symfony framework Request class
Use combined operators in CUtil class (see #91)
Refactored PDO related PHP classes (see #100)
Updated composer.json by adding ext-pdo depencency (see #113)
Updated allowed plugin in composer.json (see #103)
Use PHP namespaces (see #118)
Fixed dozens of code smell warnings
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above )
www/bacula-web: upgrade to 8.5.5
ChangeLog:
General
Fix security issue with smarty/smarty (see #111)
Fixed bug(s)
pr# 111 [security] - Upgrade smarty/smarty to 3.1.45
New feature(s)
none
www/bacula-web: update to 8.5.4
ChangeLog:
General
Removed DataTables from everywhere (see #107)
Backup job report
Fixed a bug while displaying compression ratio for canceled jobs (see #105)
Client report
Fixed SQL query error using custom datetime format in Client report page
(see #106)
Fixed bug(s)
105 [bug] - Division by zero with canceled jobs inBackup Job report
106 [bug] - SQL query error using custom datetime format in Client
report page
107 [improvement] - Remove datatables dependency and related code
108 [bug] - Broken job status link in last period job status
New feature(s)
none
www/bacula-web: update to 8.5.3
Changelog
General
GPL license notice has been updated in all files
Minor code refactoring and code smell improvments
Fixed type and requirements in composer.json
Jobs report
Fixed bug while using several filter in jobs report page (see #99)
Volumes report
Fixed bug while using several filter in volume report page (see #101)
Security
(Only the first 15 lines of the commit message are shown above )
www/bacula-web: Upgrade to 8.5.2
Changelog
General
Fixed SQL Error using PHP 8.0 and latest version of MariaDB (see #97 and #98)
Updated Composer dependencies to latest version
Fixed bug(s)
New Feature(s)
none
www/bacula-web: Show a message on deinstall to remove files
The application is generating some files on usage which are maybe not
required anymore if you deinstalled the application.
Suggest on deinstall a command the user can execute to remove all
files.
PR: 196016
www/bacula-web: Fix installation for complete freshly installed FreeBSD
If you install bacula-web without any special options set
it is using by standard sqlite3 for the database.
But this is not available with the standard options defined.
Install by default all 3 options (mysql, pgsql, sqlite).
The user can remove database support if required by compiling the
package with required options set.
But we should not block users using pkg to install the package
by using another database then pgsql.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Reverse categories in www/baculaweb for portmaster and friends
Nobody noticed that the submitter added a new category to the port and
kept it in alphabetical order rather than "true" category first, so we
need to move "www" back to the front of the line.
PR: 191583
www/bacula-web: Fix pkg-message for non-default location installations
I noticed in the commit diff that the pkg-message did not account for
non-default values of BACULAWEB_HOME, but rather assumed the equivalent
of %%WWWDIR%% (and didn't even use that!). Add a new substition so that
the pkg-message message is correct for non-default locations.
PR: 191583
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
o Fix pkg-message -- provide a better description of how to get bacula-web
up and running.
PR: ports/101859
Submitted by: Dan Langille <dan@langille.org> (maintainer)
Bacula-web is a php based web program that provides you a summarized output
of jobs that have already run. It obtains its information from your catalog
database. Aside from a nice graphical display, it provides summaries of your
jobs, as well as graphs of job usage. This is a fairly high level bacula
management tool. Here are a few points that one user made concerning this
important tool:
- It is web-based so can be accessed from anywhere.
- It is "read only" users can examine the state of the backups but not write
to anything and therefore do no damage
- It packs a phenomenal amount of information into a single web-page - that I
credit as being very good design!
The documentation for bacula-web can be found in a separate bacula-web
document in the bacula-docs release.
WWW: http://www.bacula.org/
PR: ports/101457
Submitted by: Dan Langille <dan at langille.org>