gitlab-org--gitlab-foss/lib/backup/artifacts.rb
Balasankar "Balu" C 8785f23795 Move existing dirs to a temp location while restore
Instead of renaming existing storage directories to a timestamped
format, create a timestamped directory in a temporary location and move
the individual files and folders inside storage directories to it. This
helps us with nested storage directories.
2018-03-30 11:38:36 +05:30

9 lines
152 B
Ruby

require 'backup/files'
module Backup
class Artifacts < Files
def initialize
super('artifacts', JobArtifactUploader.root)
end
end
end