debian-mirror-gitlab/lib/backup/uploads.rb
2021-01-03 14:25:43 +05:30

13 lines
279 B
Ruby

# frozen_string_literal: true
module Backup
class Uploads < Backup::Files
attr_reader :progress
def initialize(progress)
@progress = progress
super('uploads', File.join(Gitlab.config.uploads.storage_path, "uploads"), excludes: ['tmp'])
end
end
end