cookbook 'hollandbackup', '= 0.2.0'
hollandbackup (12) Versions 0.2.0 Follow2
Installs/Configures hollandbackup
cookbook 'hollandbackup', '= 0.2.0', :supermarket
knife supermarket install hollandbackup
knife supermarket download hollandbackup
Description
This cookbook provides an easy way to install Holland Backup.
More information?
* http://hollandbackup.org
Requirements
Cookbooks:
This cookbook recommends on the following cookbooks:
- mysql
Depending on your setup, these recommended cookbooks are actual dependencies (depends):
- Installing the mysqldump provider? You'll need the mysql cookbook to be available.
Platforms:
- Debian
- Ubuntu
- CentOS
- RHEL
Attributes
repository.rb:
-
node['hollandbackup']['repository']['distro']
- The Linux distro, defaults to "xUbuntu_12.04"
mysqldump.rb: (see http://docs.hollandbackup.org/provider_configs/mysqldump.html)
general
-
node['hollandbackup']['mysqldump']['mysql_binpath']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['lock_method']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['exclude_invalid_views']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['dump_routines']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['dump_events']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['stop_slave']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['bin_log_position']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['flush_logs']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['file_per_database']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['additional_options']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['extra_defaults']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['estimate_method']
- see Holland Backup mysqldump-docs, defaults to nil
database and table filtering
-
node['hollandbackup']['mysqldump']['filtering']['databases']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['filtering']['exclude_databases']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['filtering']['tables']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['filtering']['exclude_tables']
- see Holland Backup mysqldump-docs, defaults to nil
[compression]
-
node['hollandbackup']['mysqldump']['compresssion']['method']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['compresssion']['inline']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['compresssion']['level']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['compresssion']['bin_path']
- see Holland Backup mysqldump-docs, defaults to nil
[mysql:client]
-
node['hollandbackup']['mysqldump']['mysql_connection']['defaults_extra_file']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['user']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['password']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['socket']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['host']
- see Holland Backup mysqldump-docs, defaults to nil -
node['hollandbackup']['mysqldump']['mysql_connection']['port']
- see Holland Backup mysqldump-docs, defaults to nil
main.rb: (see http://docs.hollandbackup.org/config.html#holland-conf-main-config)
[holland]
-
node['hollandbackup']['main']['plugin_dirs']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['backup_directory']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['backupsets']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['umask']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['path']
- see Holland Backup main config-docs, defaults to nil
[logging]
-
node['hollandbackup']['main']['filename']
- see Holland Backup main config-docs, defaults to nil -
node['hollandbackup']['main']['level']
- see Holland Backup main config-docs, defaults to nil
backupsets.rb:
-
node['hollandbackup']['backupsets']
- A list of backupsets
Usage
- include
recipe[hollandbackup]
in a run list - include
recipe[hollandbackup::mysqldump]
- include
recipe[hollandbackup::main]
- include
recipe[hollandbackup::backupsets]
- tweak the attributes via attributes/default.rb --- OR --- override the attribute on a higher level (http://wiki.opscode.com/display/chef/Attributes#Attributes-AttributesPrecedence)
References
License and Authors
Author: David Joos david.joos@escapestudios.com
Author: Escape Studios Development dev@escapestudios.com
Copyright: 2012-2014, Escape Studios
Unless otherwise noted, all files are released under the MIT license,
possible exceptions will contain licensing information in them.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Dependent cookbooks
yum-epel >= 0.0.0 |
apt >= 0.0.0 |
chef-sugar >= 0.0.0 |
mysql >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.