Class Backup::Database::MySQL
In: lib/backup/database/mysql.rb
Parent: Base

Methods

new   perform!  

Attributes

additional_options  [RW]  Additional "mysqldump" options
host  [RW]  Connectivity options
mysqldump_utility  [RW]  Path to mysqldump utility (optional)
name  [RW]  Name of the database that needs to get dumped To dump all databases, set this to `:all` or leave blank.
only_tables  [RW]  Tables to dump, tables that aren‘t specified won‘t get dumped
password  [RW]  Credentials for the specified database
port  [RW]  Connectivity options
skip_tables  [RW]  Tables to skip while dumping the database
socket  [RW]  Connectivity options
username  [RW]  Credentials for the specified database

Public Class methods

Creates a new instance of the MySQL adapter object

Public Instance methods

Performs the mysqldump command and outputs the data to the specified path based on the ‘trigger‘

[Validate]