Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

bacula (5) Versions 1.2.1

Installs and autoconfigures bacula backup system

Policyfile
Berkshelf
Knife
cookbook 'bacula', '= 1.2.1', :supermarket
cookbook 'bacula', '= 1.2.1'
knife supermarket install bacula
knife supermarket download bacula
README
Dependencies
Quality -%

Build Status

Code Repo: http://github.com/computerlyrik/chef-bacula

Description

Tested on Ubuntu 12.04 server (should also work on Debian - please report!)

Supports File backup on a dedicated storage server with a single bacula director and multiple clients to be backed up.

Painlessly autoconfigures itself and the Jobs to be done.
Backs up daily incremental, full weekly. (see usage)
Also supports installation of bacula console to observe your backup progresses.

Autogenerated Jobs

  • Files
  • Mysql
  • LDAP
  • Chef server

Recipes

Bacula Director (bacula-dir)

bacula::server 

Central backup server

Bacula File Daemon (bacula-fd)

bacula::client

Used by each client to be backed up

Bacula Storage Daemon (bacula-sd)

bacula::storage (bacula-sd)

For use on storage system

Bacula Administration Tool BAT (bacula-console-qt)

bacula::bat

Used for Systems with graphic environment - installs and configures "bat" Bacula qt-console

Requirements

Cookbooks:
ruby
mysql
database
openssl #for password generation

Attributes

default.rb

Configure the bacula user
ruby
node['bacula']['user']
node['bacula']['group']

server.rb

Set properties for File based backup
ruby
node['bacula']['volume_size'] = "1G"
node['bacula']['volume_max'] = 20
node['bacula']['label_format'] = "BaculaFile"

client.rb

Set files to be backed up (see Usage below)
ruby
node['bacula']['fd']['files']

storage.rb

Set up destination of File-Storage
ruby
default['bacula']['sd']['backup_dir'] = "/backup"

Usage

Backup Job generation

To autogenerate jobs the following expressions need to be true on bacula::client machine:

Mysql

node['mysql'] && node['mysql']['server_root_password']

Ldap

node['openldap'] && node['openldap']['slapd_type'] == "master"

Chef Server

node['fqdn'] == "chef.#{node['domain']}"

Default deployment

  • node A => bacula::server
  • node B => bacula::storage (with much storage)
  • node C-Z => bacula::client

Examples

Howto backup files (do not use in production)

Set on your bacula::client node
ruby
node.set['bacula']['fd']['files'] = {
'includes' => ['/']],
'excludes' => [ '/dev','sys']
}

Howto change the backup cycle

To change the backup cycle make changes in templates/default/bacula-dir.conf

Todo/Ideas

  • Add restore jobs
  • more datastores (postgresql, sqlite)
  • make attributes out of the listening port
  • make mailing work

Contact

see metadata.rb

Dependent cookbooks

database >= 0.0.0
openssl >= 0.0.0
mysql >= 3.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found