-
-
Notifications
You must be signed in to change notification settings - Fork 32
Upgrading
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
tobacula::client::file_retention
-
move
bacula::params::job_retention
tobacula::client::job_retention
-
move
bacula::params::autoprune
tobacula::client::autoprune
-
move
bacula::client::director
tobacula::client::director_name
-
move
bacula::params::monitor
tobacula::monitor
-
move
bacula::params::device_seltype
tobacula::device_seltype
-
move
bacula::params::ssl
tobacula::use_ssl
-
move
bacula::params::ssl_dir
tobacula::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
tobacula::director::fileset
Other data changes are as follows.
- remove needless
bacula::client::storage
- Relocated many
params
variables tobacula
class
If you are declaring your own bacula::director::pool
, it is now necessary to
specify the storage
parameter.
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.