2018-09-29 18:34:47 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-04-10 08:41:47 -04:00
|
|
|
module Backup
|
2020-09-28 02:09:56 -04:00
|
|
|
class Uploads < Backup::Files
|
2018-05-24 10:58:25 -04:00
|
|
|
attr_reader :progress
|
|
|
|
|
|
|
|
def initialize(progress)
|
|
|
|
@progress = progress
|
|
|
|
|
2020-09-14 08:09:34 -04:00
|
|
|
super('uploads', File.join(Gitlab.config.uploads.storage_path, "uploads"), excludes: ['tmp'])
|
2015-10-16 11:16:17 -04:00
|
|
|
end
|
2022-02-15 22:18:24 -05:00
|
|
|
|
|
|
|
def human_name
|
|
|
|
_('uploads')
|
|
|
|
end
|
2013-04-10 08:41:47 -04:00
|
|
|
end
|
|
|
|
end
|