lenn4rd / mysqlbackup-cookbook

Chef cookbook to install mysqlbackup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mysqlbackup Cookbook

This cookbook installs mysqlbackup.

Requirements

  • mysql - Obviously, MySQL is required

Attributes

mysqlbackup::default

Key Type Description Default
['mysqlbackup']['enable_duply'] Boolean whether to enable duply false
['mysqlbackup']['enable_mysql'] Boolean whether to enable MySQL false
['mysqlbackup']['group'] String the group name for the system user running mysqlbackup backup
['mysqlbackup']['mysql_password'] String the password for the MySQL user CHANGE_THIS_PASSWORD
['mysqlbackup']['mysql_username'] String the username for the MySQL user backup
['mysqlbackup']['user'] String the username for the system user running mysqlbackup backup
['mysqlbackup']['version'] String the version number for mysqlbackup to install 2.7

Usage

Include mysqlbackup in your node's run_list:

{
  "name": "node",
  "run_list": [
    "recipe[mysqlbackup]"
  ]
}

Make sure you also supply the password for the MySQL root user with the node['mysql']['server_root_password'] attribute when you enabled creating a dedicated read-only user account for backup.

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Lennard Timm

About

Chef cookbook to install mysqlbackup

License:MIT License


Languages

Language:Ruby 96.7%Language:HTML 3.3%