Skip to content
Romain Tartière edited this page Mar 16, 2018 · 2 revisions

Upgrading from an older version

Upgrading to 5.x

The bacula::params class has been completely removed. Any data in your primary hiera that used these values will need to be updated.

The variables used to specify the Storage and Director host have been moved. Where previously, bacula::params::director and bacula::params::storage, replace them with bacula::director_name and bacula::storage_name.

Here are is the list of variables that have moved out of the params class. If any of these are set in an environments hiera data, they will not be respected and should be moved as follows.

  • move bacula::params::file_retention to bacula::client::file_retention

  • move bacula::params::job_retention to bacula::client::job_retention

  • move bacula::params::autoprune to bacula::client::autoprune

  • move bacula::client::director to bacula::client::director_name

  • move bacula::params::monitor to bacula::monitor

  • move bacula::params::device_seltype to bacula::device_seltype

  • move bacula::params::ssl to bacula::use_ssl

  • move bacula::params::ssl_dir to bacula::ssl::ssl_dir

  • users are required to set bacula::ssl::ssl_dir

The following classes/defines have been relocated as well. Please update any references of the former to reference the latter.

  • move define bacula::fileset to bacula::director::fileset

Other data changes are as follows.

  • remove needless bacula::client::storage
  • Relocated many params variables to bacula class

If you are declaring your own bacula::director::pool, it is now necessary to specify the storage parameter.

Upgrading to 4.x

Several params have been removed and replaced with the default names. Update your hiera data and parameters as follows.

The following have been replaced with simply bacula::params::director.

  • bacula::params::director_name
  • bacula::params::bacula_director

The following have been replaced with simply bacula::params::storage.

  • bacula::params::bacula_storage
  • bacula::params::storage_name

The default 'Full' and 'Inc' pools no longer get created. Only the pool called 'Default' is created. As such, the following parameter have been removed from the bacula::storage class.

  • $volret_full
  • $volret_incremental
  • $maxvolbytes_full
  • $maxvoljobs_full
  • $maxvols_full
  • $maxvolbytes_incremental
  • $maxvoljobs_incremental
  • $maxvols_incremental

This now means that Full jobs are not directed to a 'Full' pool, and Incremental jobs are no longer directed to an 'Inc' pool.

To gain the same functionality available in previous versions using a default pool for a specific level of backup, create a pool as directed below, and set any of the following parameters for your clients.

  • bacula::client::default_pool_full
  • bacula::client::default_pool_inc
  • bacula::client::default_pool_diff

The value of these parameters should be set to the resource name of the pool.