Module: BigBackup

Defined in:
lib/big_backup.rb,
lib/big_backup/base.rb,
lib/big_backup/archive.rb,
lib/big_backup/uploader/ftp.rb,
lib/big_backup/uploader/base.rb,
lib/big_backup/databases/base.rb,
lib/big_backup/databases/mysql.rb,
lib/big_backup/databases/mongodb.rb

Defined Under Namespace

Modules: Database, Uploader Classes: Archive, Base

Constant Summary collapse

@@options =
{}

Class Method Summary collapse

Class Method Details

.config_pathObject



29
30
31
# File 'lib/big_backup.rb', line 29

def self.config_path
  @@options[:config_path]
end

.config_path=(config_path) ⇒ Object



25
26
27
# File 'lib/big_backup.rb', line 25

def self.config_path=(config_path)
  @@options[:config_path] = config_path
end

.runObject



33
34
35
# File 'lib/big_backup.rb', line 33

def self.run
  Base.new.start
end