Forge Home

bacula

Install a Bacula enterprise class backup instance

9,955 downloads

7,069 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.2.3 (latest)
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.0
released Aug 11th 2016
This version is compatible with:
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'thbe-bacula', '0.2.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add thbe-bacula
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install thbe-bacula --version 0.2.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

thbe/bacula — version 0.2.3 Aug 11th 2016

bacula

Build Status Puppet Forge Coverage Status

Table of Contents

  1. Description
  2. Setup - The basics of getting started with bacula
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

This module install and configure the enterprise class Bacula backup solution. It could be used for all three components, the client, the server and the storage side.

Setup

What bacula affects

  • The module install packages based on usage type.
  • The module configure the services based on usage type.
  • The module start the necessary services based on usage type.
  • The module install and configure MySQL if used as backup server.

Setup Requirements

No additional actions needed to use this module.

Beginning with bacula

This module could be used to install and configure three components needed to perform distributed backups.

Usage

This module can install the:

  • Bacula director
  • Bacula storage daemon
  • Bacula file descriptor

Bacula director

class { 'bacula':
  type_dir => true,
  client_password => 'Start123!',
  monitor_password => 'Start123!',
  storage_password => 'Start123!',
  storage_daemon => 'bac-sd.example.local',
  mail_hub => 'mail.example.local',
  mail_group => 'bac-group@example.local',
  backup_clients => [ 'client1.example.local', 'client2.example.local' ]
}

Bacula storage daemon

class { 'bacula':
  type_sd => true,
  monitor_password => 'Start123!',
  storage_password => 'Start123!',
  storage_daemon => 'bac-sd.example.local'
}

Bacula file descriptor

class { 'bacula':
  type_fd => true,
  client_password => 'Start123!',
  monitor_password => 'Start123!'
}

Reference

Here is the list of parameters used by this module.

$type_fd

Specify if file descriptor components should be installed Default value is false

$type_sd

Specify if storage daemon components should be installed Default value is false

$type_dir

Specify if director components should be installed Default value is false

$db_password

Specify the database password Default value is 0nly4install

$db_password_hash

Specify the database password hash Default value is *31F96A5E321BF3E06E35668ED982CC2447CF5B3F

$client_password

Specify the client password Default value is client-password-for-bacula

$monitor_password

Specify the monitor password Default value is monitor-password-for-bacula

$storage_password

Specify the storage daemon password Default value is storage-password-for-bacula

$storage_daemon

Specify the storage daemon that should be used Default value is storage-daemon.domain.local

$mail_hub

Specify the mail hub that should be used Default value is mail-hub.domain.local

$mail_group

Specify the mail group that should be used Default value is bacula-list@domain.local

$backup_clients

Specify the clients that should be backuped Default value is no client

Limitations

This module has been built on and tested against Puppet 4.0 and higher.

The module has been tested on:

  • CentOS Linux 7

Testing on other platforms has been light and cannot be guaranteed.

This module does currently only support a limited set of distributions and need to be reworked for other distributions as well.

Development

If you like to add or improve this module, feel free to fork the module and send me a merge request with the modification.