All posts by Patricia Nogueira

Baculum – official rpm and deb package repositories

We have prepared the Baculum official packages and repositories for the following distributions:

– CentOS

– Fedora

– Debian

– Ubuntu

The repositories contain the latest version of Baculum (7.4.0-1) and they will be updated after each new version release.

Full installation instructions for the rpm and deb packages from the official repositories are available in the Bacula Console documentation chapter here:

http://www.bacula.org/7.4.x-manuals/en/console/Baculum_WebGUI_Tool.html

A baculum online demo is hosted here:

http://baculum.baculus.pl/

Login : admin

Password : admin

The demo environment is recreated from scratch each two hours.

 

Bacula Admin l & ll Training’s 2016

Bacula Admin l

The Bacula Admin l training helps new or existing administrators of Bacula (community or Enterprise Edition) acquire the knowledge they need to install, configure and operate the solution in a production environment, quickly and effectively.

After completing the course, you will be able to perform the following tasks:

  • Obtain the Bacula code
  • Build, install and configure Bacula on your own system
  • Design and run a backup scheme
  • Configure backup jobs for disks and auto-changers
  • Diagnose and debug problems
  • Learn to monitor day-to-day operations
  • Set up and perform restore operations

 

Schedule for 2016

Month Date Location
February 23-24-25 Kortenberg - Belgium
March 22-23-24 Paris La Défense - France
April 19-20-21 Yverdon-les-Bains - Switzerland
April 26-27-28 Kortenberg - Belgium
May 17-18-19 Kortenberg - Belgium
June 14-15-16 Paris La Défense - France
September 13-14-15 Yverdon-les-Bains - Switzerland
September 20-21-22 Rutherford - NJ - USA
September 20-21-22 Paris La Défense - France
December 6-7-8 Paris La Défense - France

Bacula Admin ll

The Bacula Admin ll training is the next natural step to acquire the highest level of expertise to design an Enterprise Backup and Recovery Solution, dealing with scalability, security, performance and other vital topics, critical in complex or dynamic environments.

After completing the course, you will be able to perform the following tasks:

  • Obtain the Bacula code
  • Plan an Enterprise Backup & Restore System
  • Manage scalability, security, and performance objectives
  • Implement an Enterprise Backup & Restore System with Bacula
  • Understand retention times
  • Manage configurations
  • Develop scripting within Bacula

 

Schedule for 2016

Month Date Location
June 14-15-16-17 Yverdon-les-Bains - Switzerland
October 11-12-13-14 Paris la Défense - France

For more information:

Belgium

Admin l: https://www.open-future.be/content/bacula-administrator-i-training-0

France

Admin l: http://www.teicee.com/informatique/sauvegarde-donnees/bacula-la-solution-open-source-de-sauvegarde-reseau/formation-administrateur-bacula.html

Admin ll: http://www.teicee.com/informatique/sauvegarde-donnees/bacula-la-solution-open-source-de-sauvegarde-reseau/formation-administrateur-ii-bacula.html

Switzerland and USA

Admin l: http://www.baculasystems.com/bacula-administrator-i-training-course

Admin ll: http://www.baculasystems.com/bacula-administrator-ii-training-course

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.

Baculum – Current and upcoming features

1. Baculum Ubuntu/Debian packages

Preparing Baculum to use from bacula-gui source archive requires going
through a few steps as manual web server configuration, PHP installation
with dependencies, setting up authentication to Baculum. These actions
may need a few attempts and may take a little time.

For this reason, we have prepared Baculum binary packages for
Ubuntu/Debian distributions. Packages are available in Lauchpad.net
service here:

https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum

Please note that it is an unofficial repository nevertheless the repository
is maintained by Baculum author.

2. Baculum online demo version

You will find the Baculum online demo version available here:

http://baculum.baculus.pl

login: admin, password: admin

The running version of the demo is based on a git snapshot that comes from the Bacula GUI repository and is rebuilt on a hourly basis (database, volumes, etc.)

3. Upcoming features

Within almost one year, a lot of new features have been introduced into Baculum (available from Bacula GUI repository)

Here below are listed the major changes:

– Stability and performance improvements
– Jobs graphs
– Running jobs are refreshed in real time
– Verify Jobs support
– Execute action on multiple volumes (prune, purge, delete) and jobs (delete) at a time
– Polish translation
– Enabled support to run Baculum in web server document root sub-directory

Baculum Overview

Baculum is a Bacula web based interface, which enables several Bacula administration functions.
These include:
  •  Running Bacula jobs (backup, restore, verify…)
  •  Monitor Bacula services
  •  Bacula console available via web interface
  •  Support for customised and restricted consoles (Console ACL functionality)
  •  Multiple Directors support
  •  Volumes management including labeling new volumes
  •  User friendly graphs Basic storage daemon operations on volumes (mount, unmount, release actions)
  •  Easy in use configuration and restore wizards
  •  Many other features…
Baculum general operating system environment requirements

The Baculum installation should have the following components:

  • Web Server – with mod_rewrite module loaded. Baculum has been tested on Apache HTTP Server and Lighttpd.
  • PHP 5.3 or higher – as web server module or as FastCGI, with the following modules installed:

* PDO PHP support – depending on your catalog database: PDO PostgreSQL, PDO MySQL or PDO SQLite.
Note: If Bacula uses MySQL catalog backend, Baculum requires to install MySQL php native drivers. (often called php-msqlnd, and not php-msql)
* BCMath PHP module.
* cURL PHP module.
* MB String PHP module.
* JSON PHP module.

  • Bconsole – configured Bacula text based console
  • Access to Bacula catalog database – A computer with a Baculum installation should be able to connect to the Bacula catalog database

There is no need to install Baculum on the server with a Bacula Catalog database because Baculum can communicate with the Bacula database located on a remote server.

Above requirements are validated during Baculum’s initial startup. You will be informed if any components are missing in the installation environment.

Installation

Detailed information about manual installation of Baculum is available in the Baculum INSTALL file located in bacula-gui tar archive.