Class: Backup::Configuration::Database::MySQL
- Defined in:
- lib/backup/configuration/database/mysql.rb
Class Attribute Summary collapse
-
.additional_options ⇒ Object
Additional “mysqldump” options.
-
.host ⇒ Object
Connectivity options.
-
.mysqldump_utility ⇒ Object
Path to mysqldump utility (optional).
-
.name ⇒ Object
Name of the database that needs to get dumped.
-
.only_tables ⇒ Object
Tables to dump, tables that aren’t specified won’t get dumped.
-
.password ⇒ Object
Credentials for the specified database.
-
.port ⇒ Object
Connectivity options.
-
.skip_tables ⇒ Object
Tables to skip while dumping the database.
-
.socket ⇒ Object
Connectivity options.
-
.username ⇒ Object
Credentials for the specified database.
Method Summary
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #load_defaults!
Class Attribute Details
.additional_options ⇒ Object
Additional “mysqldump” options
32 33 34 |
# File 'lib/backup/configuration/database/mysql.rb', line 32 def @additional_options end |
.host ⇒ Object
Connectivity options
20 21 22 |
# File 'lib/backup/configuration/database/mysql.rb', line 20 def host @host end |
.mysqldump_utility ⇒ Object
Path to mysqldump utility (optional)
36 37 38 |
# File 'lib/backup/configuration/database/mysql.rb', line 36 def mysqldump_utility @mysqldump_utility end |
.name ⇒ Object
Name of the database that needs to get dumped. To dump all databases, set this to ‘:all` or leave blank.
12 13 14 |
# File 'lib/backup/configuration/database/mysql.rb', line 12 def name @name end |
.only_tables ⇒ Object
Tables to dump, tables that aren’t specified won’t get dumped
28 29 30 |
# File 'lib/backup/configuration/database/mysql.rb', line 28 def only_tables @only_tables end |
.password ⇒ Object
Credentials for the specified database
16 17 18 |
# File 'lib/backup/configuration/database/mysql.rb', line 16 def password @password end |
.port ⇒ Object
Connectivity options
20 21 22 |
# File 'lib/backup/configuration/database/mysql.rb', line 20 def port @port end |
.skip_tables ⇒ Object
Tables to skip while dumping the database
24 25 26 |
# File 'lib/backup/configuration/database/mysql.rb', line 24 def skip_tables @skip_tables end |
.socket ⇒ Object
Connectivity options
20 21 22 |
# File 'lib/backup/configuration/database/mysql.rb', line 20 def socket @socket end |
.username ⇒ Object
Credentials for the specified database
16 17 18 |
# File 'lib/backup/configuration/database/mysql.rb', line 16 def username @username end |