Module: LiquidBackup::Job::Database::StepCallbacks

Defined in:
lib/liquid_backup/job/modules/database_module.rb

Instance Method Summary collapse

Instance Method Details

#compress_databaseObject



22
23
24
25
26
27
28
# File 'lib/liquid_backup/job/modules/database_module.rb', line 22

def compress_database
  return unless @_fire_database_callbacks
  source        = File.join(current_backup_path,'databases')
  destination   = File.join(current_backup_path,'databases.tar.gz')
  
  compress(source, destination)
end