Files
gitlab-foss/gems/gitlab-backup-cli/lib/gitlab/backup/cli/tasks/uploads.rb
2024-10-31 03:14:13 +00:00

26 lines
488 B
Ruby

# frozen_string_literal: true
module Gitlab
module Backup
module Cli
module Tasks
class Uploads < Task
def self.id = 'uploads'
def human_name = _('uploads')
def destination_path = 'uploads.tar.gz'
private
def local
Gitlab::Backup::Cli::Targets::Files.new(context, storage_path, excludes: ['tmp'])
end
def storage_path = context.upload_path
end
end
end
end
end