# 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 target check_object_storage(::Backup::Targets::Files.new(nil, storage_path, options: options, excludes: ['tmp'])) end def storage_path = context.upload_path end end end end end