Class: Backup::Configuration::Database::MySQL

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/configuration/database/mysql.rb

Class Attribute Summary collapse

Method Summary

Methods inherited from Base

defaults

Methods included from Helpers

#clear_defaults!, #getter_methods, #load_defaults!, #setter_methods

Class Attribute Details

.additional_options ⇒ Object

Additional "mysqldump" options



31
32
33
# File 'lib/backup/configuration/database/mysql.rb', line 31

def additional_options
  @additional_options
end

.host ⇒ Object

Connectivity options



19
20
21
# File 'lib/backup/configuration/database/mysql.rb', line 19

def host
  @host
end

.name ⇒ Object

Name of the database that needs to get dumped



11
12
13
# File 'lib/backup/configuration/database/mysql.rb', line 11

def name
  @name
end

.only_tables ⇒ Object

Tables to dump, tables that aren't specified won't get dumped



27
28
29
# File 'lib/backup/configuration/database/mysql.rb', line 27

def only_tables
  @only_tables
end

.password ⇒ Object

Credentials for the specified database



15
16
17
# File 'lib/backup/configuration/database/mysql.rb', line 15

def password
  @password
end

.port ⇒ Object

Connectivity options



19
20
21
# File 'lib/backup/configuration/database/mysql.rb', line 19

def port
  @port
end

.skip_tables ⇒ Object

Tables to skip while dumping the database



23
24
25
# File 'lib/backup/configuration/database/mysql.rb', line 23

def skip_tables
  @skip_tables
end

.socket ⇒ Object

Connectivity options



19
20
21
# File 'lib/backup/configuration/database/mysql.rb', line 19

def socket
  @socket
end

.username ⇒ Object

Credentials for the specified database



15
16
17
# File 'lib/backup/configuration/database/mysql.rb', line 15

def username
  @username
end