Module: LiquidBackup::Job::Folder::StepCallbacks

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

Instance Method Summary collapse

Instance Method Details

#compress_folderObject



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

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