Class: SimpleBackup::Source::Mysql

Inherits:
Abstract
  • Object
show all
Defined in:
lib/simple_backup/source/mysql.rb

Constant Summary collapse

@@mysql =
Utils::MySQL.instance

Instance Method Summary collapse

Methods inherited from Abstract

#backends=, #backup_file, #cleanup, #desc, #get, #keep_last, #keep_last=, #name, #name=, #supports, #tmp_base_path=, #type

Instance Method Details

#configure(options = {}) ⇒ Object



6
7
8
9
10
11
# File 'lib/simple_backup/source/mysql.rb', line 6

def configure(options = {})
  @db = @name unless options[:db]
  @db = options[:db] if options[:db]

  @exclude_tables = options[:exclude_tables] if options[:exclude_tables]
end