Class: Backup::Adapters::MySQL

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

Instance Attribute Summary collapse

Attributes inherited from Base

#compressed_file, #encrypt_with_password, #encrypted_file, #final_file, #keep_backups, #performed_file, #procedure, #timestamp, #tmp_path, #trigger

Method Summary

Methods inherited from Base

#create_tmp_folder, #encrypt, #initialize, #notify, #record, #remove_tmp_files, #store, #system_messages

Methods included from CommandHelper

#log, #run

Constructor Details

This class inherits a constructor from Backup::Adapters::Base

Instance Attribute Details

#additional_optionsObject

Returns the value of attribute additional_options.



5
6
7
# File 'lib/backup/adapters/mysql.rb', line 5

def additional_options
  @additional_options
end

#databaseObject

Returns the value of attribute database.



5
6
7
# File 'lib/backup/adapters/mysql.rb', line 5

def database
  @database
end

#hostObject

Returns the value of attribute host.



5
6
7
# File 'lib/backup/adapters/mysql.rb', line 5

def host
  @host
end

#passwordObject

Returns the value of attribute password.



5
6
7
# File 'lib/backup/adapters/mysql.rb', line 5

def password
  @password
end

#portObject

Returns the value of attribute port.



5
6
7
# File 'lib/backup/adapters/mysql.rb', line 5

def port
  @port
end

#skip_tablesObject

Returns the value of attribute skip_tables.



5
6
7
# File 'lib/backup/adapters/mysql.rb', line 5

def skip_tables
  @skip_tables
end

#socketObject

Returns the value of attribute socket.



5
6
7
# File 'lib/backup/adapters/mysql.rb', line 5

def socket
  @socket
end

#tablesObject

Returns the value of attribute tables.



5
6
7
# File 'lib/backup/adapters/mysql.rb', line 5

def tables
  @tables
end

#userObject

Returns the value of attribute user.



5
6
7
# File 'lib/backup/adapters/mysql.rb', line 5

def user
  @user
end