Baculum 7.2.1-0 Release

We have released a new Baculum version – 7.2.1-0.

This release is focused on performance improvements. Despite the fact that it is a minor release, in this version we have included numerous features.

Source tar archive: http://bacula.org/downloads/baculum/baculum-7.2.1-0.tar.gz
Signature: http://bacula.org/downloads/baculum/baculum-7.2.1-0.tar.gz.sig
PGP public key: http://bacula.org/downloads/baculum/baculum.pub

Changes:
– Add run job again button
– Add session cache
– Search field works for all table cells
– Remember sort order for data grids
– Remove temporary Bvfs table when restore starts
– Add example Nginx config
– Add jobbytes and jobfiles columns in job list
– Split configuration windows into two tabs: actions and console
– Set default job attributes (level, client, fileset, pool, storage, priority) in Run job panel
– Do not refresh window lists if toolbar is open or elements are checked
– Fix working with php-fpm
– Fix sorting formatted values in tables
– Improve formatted size precision.
– Fix jobs count in job list
– Fix end-of-file warning in bconsole calls. Patch from Ulrich Leodolter
– Show jobid in job configuration window
– Get system timezone for PHP if possible
– Fix restore when a lot of jobids are given
– Show copy job label in job list
– Get job show result by job name or jobid
– Set half size window as default window size
– Does not save controls state in jobs window
– Fix showing table header
– Update SELinux policy module
– Fix update pool action when no volumes in pool
– Change default elements limit to 500 elements
– Add drive parameter to bconsole release command execution
– Fix expectation failed error during restore
– Switch to debug mode only when debug is enabled in config
– Fix remove users file during upgrade deb packages
– Fix default values in Makefile
– Change Makefile to using also for deb packages template
– Add deb template files and deb configs examples

In version 7.2.1-0 We prepared binary packages for: CentOS, Fedora, Ubuntu and Debian. Below you can find the installation descriptions for each of the distributions.

=== Fedora packages ===

1. Add Baculum repository:

# dnf config-manager –add-repo http://download.opensuse.org/repositories/home:/ganiuszka/Fedora_23/home:ganiuszka.repo

2. Install base Baculum package

# dnf install baculum

3. If SELinux enabled then it is required additional baculum-selinux package:

# dnf install baculum-selinux

4. Install Baculum web server configuration and Baculum start

a) For Apache web server

# dnf install baculum-httpd
# service httpd restart

b) For Lighttpd web server

# dnf install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole is accessible to Baculum via sudo then your are required to create a file:

# vi /etc/sudoers.d/baculum

add the following content to the file:

a) For Apache web server:

Defaults:apache !requiretty
apache ALL= NOPASSWD: /usr/sbin/bconsole

b) For Lighttpd web server

Defaults:lighttpd !requiretty
lighttpd ALL= NOPASSWD: /usr/sbin/bconsole
=== CentOS packages ===

1. Add Baculum repository:

# yum-config-manager –add-repo http://download.opensuse.org/repositories/home:/ganiuszka/CentOS_7/home:ganiuszka.repo

2. Install base Baculum package

# yum install baculum

3. If SELinux enabled then is required additional baculum-selinux package:

# yum install baculum-selinux

4. Install Baculum web server configuration and Baculum start

a) For Apache web server

# yum install baculum-httpd
# service httpd restart

b) For Lighttpd web server

Because Lighttpd binary packages default does not exist in CentOS repository, you are required to install epel repository with the following command:

# yum install epel-release

and then install Lighttpd configuration for Baculum:

# yum install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole is accessible to Baculum via sudo then you are required to create a file:

# vi /etc/sudoers.d/baculum

and add the following content to the file:

a) For Apache web server:

Defaults:apache !requiretty
apache ALL= NOPASSWD: /usr/sbin/bconsole

b) For Lighttpd web server

Defaults:lighttpd !requiretty
lighttpd ALL= NOPASSWD: /usr/sbin/bconsole
=== Ubuntu packages ===

1. Add Baculum PPA repository:

# add-apt-repository ppa:ganiuszka/baculum

2. Update packages index

# apt-get update

3. Install base Baculum package

# apt-get install baculum

4. Install Baculum web server configuration end Baculum start

a) For Apache web server:

# apt-get install baculum-apache2

Enable mod_rewrite module in Apache

# ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load

Enable Baculum configuration in Apache

# ln -s /etc/apache2/sites-available/baculum.conf /etc/apache2/sites-enabled/baculum.conf

Start Baculum

# service apache2 restart

b) For Lighttpd web server:

# apt-get install baculum-lighttpd
# service baculum-lighttpd start

5. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole is accessible to Baculum via sudo then you are required to create a file:

# vi /etc/sudoers.d/baculum
and add the following content to the file:

Defaults:www-data !requiretty
www-data ALL= NOPASSWD: /usr/sbin/bconsole

The above sudo configuration is common for both Apache and Lighttpd web servers.

=== Debian packages ===

For Baculum 7.2.1-0 in Debian there does not exist any special packages repository, the recommended method to install Baculum packages is to download packages for Ubuntu Vivid manually and then to install them.

1. Download base Baculum package and install it

# wget https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum_7.2.1-0ppa1~vivid1_all.deb
# gdebi baculum_7.2.1-0ppa1~vivid1_all.deb

2. Download and install web server configuration for Baculum.

a) For Apache web server

# wget https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum-apache2_7.2.1-0ppa1~vivid1_all.deb
# gdebi baculum-apache2_7.2.1-0ppa1~vivid1_all.deb

Enable mod_rewrite module in Apache

# ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load

Enable Baculum configuration in Apache

# ln -s /etc/apache2/sites-available/baculum.conf /etc/apache2/sites-enabled/baculum.conf

Start Baculum

# service apache2 restart

b) For Lighttpd web server

# wget https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum/+files/baculum-lighttpd_7.2.1-0ppa1~vivid1_all.deb
# gdebi baculum-lighttpd_7.2.1-0ppa1~vivid1_all.deb

3. In web browser go to: http://localhost:9095

First time login: admin
First time password: admin

NOTE!
If bconsole is accessible to Baculum via sudo then you are required to create a file:

# vi /etc/sudoers.d/baculum

and add the following content to the file:

Defaults:www-data !requiretty
www-data ALL= NOPASSWD: /usr/sbin/bconsole

The above sudo configuration is common for both Apache and Lighttpd web servers.