2018-12-05 23:21:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2015-11-26 14:37:03 +05:30
|
|
|
require 'backup/files'
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
module Backup
|
2015-11-26 14:37:03 +05:30
|
|
|
class Uploads < Files
|
2018-11-08 19:23:39 +05:30
|
|
|
attr_reader :progress
|
|
|
|
|
|
|
|
def initialize(progress)
|
|
|
|
@progress = progress
|
|
|
|
|
2020-11-24 15:15:51 +05:30
|
|
|
super('uploads', File.join(Gitlab.config.uploads.storage_path, "uploads"), excludes: ['tmp'])
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|