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

chef-server-backup (2) Versions 0.2.0

Installs/Configures backups for Chef Server

Policyfile
Berkshelf
Knife
cookbook 'chef-server-backup', '= 0.2.0', :supermarket
cookbook 'chef-server-backup', '= 0.2.0'
knife supermarket install chef-server-backup
knife supermarket download chef-server-backup
README
Dependencies
Quality 0%

Chef Server Backup Cookbook

This cookbook will backup a standalone Chef server.

It will deploy a script and populate cron.d to execute it.

Attributes

  • node['chef-server-backup']['mailto'] - Email address for notifications. Default is root
  • node['chef-server-backup']['retention_days'] - Number of days to keep backups. Default is an 8 day rotation.
  • node['chef-server-backup']['backup_name'] - Name of the backup Tar file. Default is chef_backup.
  • node['chef-server-backup']['working_dir'] - Temporary working directory. Default is '/tmp'.
  • node['chef-server-backup']['db_user'] - The database username. Default is 'opscode-pgsql'.
  • node['chef-server-backup']['backup_store'] - Which directory to store backups '/etc/chef_backup'.
  • node['chef-server-backup']['cron']['minute'] - The minute at which the cron entry should run (0 - 59). Default value: *
  • node['chef-server-backup']['cron']['hour'] - The hour at which the cron entry is to run (0 - 23). Default value: 23
  • node['chef-server-backup']['cron']['day'] - The day of month at which the cron entry should run (1 - 31). Default value: *
  • node['chef-server-backup']['cron']['month'] - The month in the year on which a cron entry is to run (1 - 12). Default value: *
  • node['chef-server-backup']['cron']['weekday'] - The day of the week on which this entry is to run (0 - 6), where Sunday = 0. Default value: *

License and Authors

  • Author:: Andrew Holt

Copyright (C) 2015 Andrew Holt

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Dependent cookbooks

cron ~> 1.7.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.2.0 failed this metric

FC002: Avoid string interpolation where not required: /tmp/cook/c15d45ccaefa703981ef6c47/chef-server-backup/recipes/backup.rb:21
FC002: Avoid string interpolation where not required: /tmp/cook/c15d45ccaefa703981ef6c47/chef-server-backup/recipes/backup.rb:23
FC002: Avoid string interpolation where not required: /tmp/cook/c15d45ccaefa703981ef6c47/chef-server-backup/recipes/backup.rb:24
FC002: Avoid string interpolation where not required: /tmp/cook/c15d45ccaefa703981ef6c47/chef-server-backup/recipes/backup.rb:25
FC002: Avoid string interpolation where not required: /tmp/cook/c15d45ccaefa703981ef6c47/chef-server-backup/recipes/backup.rb:26
FC002: Avoid string interpolation where not required: /tmp/cook/c15d45ccaefa703981ef6c47/chef-server-backup/recipes/backup.rb:27
FC002: Avoid string interpolation where not required: /tmp/cook/c15d45ccaefa703981ef6c47/chef-server-backup/recipes/backup.rb:28