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


bacula (5) Versions 1.0.0

Installs and autoconfigures bacula backup system

cookbook 'bacula', '= 1.0.0', :supermarket
cookbook 'bacula', '= 1.0.0'
knife supermarket install bacula
knife supermarket download bacula
Quality -%


Tested on Ubuntu 12.04 (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. (to change see usage)
Also supports installation of bacula console to observe your backup progresses.

Backup Jobs are autogenerated:
- Files
set up files attribute
- Mysql

bacula::server (bacula-dir)
Central backup server

bacula::client (bacula-fd)
Used by each client to be backed up

bacula::storage (bacula-sd)
For use on storage system

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


mysql and database cookbooks
openssl for password generation


Configure the bacula user
default.rb - node['bacula']['user']
default.rb - node['bacula']['group']
Set this to your User bacula runs on your System


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


Set files to be backed up (see Usage below)


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


==Backup Job generation==

To autogenerate jobs the following variables need to be set on bacula::client machine:

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

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

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

This is an example (do not use in production) how to backup files on your filesystem:
Add them according to this:
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


  • Add restore jobs
  • more datastores
  • make attributes out of the listening port
  • make mailing work


see metadata.rb

Dependent cookbooks

database >= 0.0.0
openssl >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found