mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-03 16:04:30 +00:00
24 lines
411 B
Ruby
24 lines
411 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Backup
|
|
module Tasks
|
|
class Lfs < Task
|
|
def self.id = 'lfs'
|
|
|
|
def human_name = _('lfs objects')
|
|
|
|
def destination_path = 'lfs.tar.gz'
|
|
|
|
private
|
|
|
|
def target
|
|
@target ||= ::Backup::Targets::Files.new(progress, storage_path, options: options)
|
|
end
|
|
|
|
def storage_path
|
|
Settings.lfs.storage_path
|
|
end
|
|
end
|
|
end
|
|
end
|