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

RSS

db_backup_s3 (1) Versions 0.2.0

Installs/Configures mongodb_backup_s3

Berkshelf/Librarian
Policyfile
Knife
cookbook 'db_backup_s3', '~> 0.2.0'
cookbook 'db_backup_s3', '~> 0.2.0', :supermarket
knife cookbook site install db_backup_s3
knife cookbook site download db_backup_s3
README
Dependencies
Changelog
Quality

db_backup_s3 Cookbook

Includes a recipe to back up mongodb to S3.

Includes a recipe to back up mysql to S3.

Requirements

  • method of connecting to s3
  • s3 connection configuration
  • mongodb connection configuration
  • mysql connection configuration

packages

  • toaster - db_backup_s3 needs toaster to brown your bagel.

Attributes

TODO: List you cookbook attributes here.

e.g.

mongodb_backup_s3::default

<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['db_backup_s3']['bacon']</tt></td> <td>Boolean</td> <td>whether to include bacon</td> <td><tt>true</tt></td> </tr> </table>

Usage

db_backup_s3::mysql

db_backup_s3::mongodb

There is a data bag 'utils/s3.json' that has attributes 'key' and 'secret', those are your S3 credentials.

Include db_backup_s3 in your node's run_list, with the appropriate recipe name:

{
  "name":"my_node",
  "run_list": [
    "recipe[db_backup_s3::mongodb]",
    "recipe[db_backup_s3::mysql]"
  ]
}

Make sure that the bucket exists. Inside the bucket there should be folders: /mongodb /sql_backup

License and Authors

This code is distributed under Apache2 license.

The author is Victor Piousbox.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for mongodb_backup_s3

This file is used to list changes made in each version of mongodb_backup_s3.

0.1.0:

  • Initial release of mongodb_backup_s3

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

0.2.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.2.0 failed this metric

FC064: Ensure issues_url is set in metadata: db_backup_s3/metadata.rb:1
FC065: Ensure source_url is set in metadata: db_backup_s3/metadata.rb:1
FC066: Ensure chef_version is set in metadata: db_backup_s3/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: db_backup_s3/metadata.rb:1
FC069: Ensure standardized license defined in metadata: db_backup_s3/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.2.0 passed this metric

No Binaries Metric
            

0.2.0 passed this metric

Publish Metric
            

0.2.0 passed this metric

Supported Platforms Metric
            

0.2.0 failed this metric

db_backup_s3 should declare what platform(s) it supports.

Testing File Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.2.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number