Class: Backup::Lfs

Inherits:
Files
  • Object
show all
Defined in:
lib/backup/lfs.rb

Instance Attribute Summary

Attributes inherited from Files

#app_files_dir, #backup_tarball, #files_parent_dir, #name

Instance Method Summary collapse

Methods inherited from Files

#backup_existing_files_dir, #dump, #restore, #run_pipeline!

Constructor Details

#initializeLfs

Returns a new instance of Lfs


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

def initialize
  super('lfs', Settings.lfs.storage_path)
end

Instance Method Details

#create_files_dirObject


9
10
11
# File 'lib/backup/lfs.rb', line 9

def create_files_dir
  Dir.mkdir(app_files_dir, 0700)
end