summaryrefslogtreecommitdiff
path: root/lib/backup/uploads.rb
blob: 7048a9a8ff5ce6dc4c26a7ae6ffd594f99100801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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

    def human_name
      _('uploads')
    end
  end
end