Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2018-03-05 11:25:02 +0300
committerBalasankar "Balu" C <balasankar@gitlab.com>2018-03-30 09:08:36 +0300
commit8785f237959a1e59fee8f628b76e476040848e24 (patch)
tree6becf45dd48e0ccc7fa45611af9376556637b2da /lib/backup/registry.rb
parent9b76d8512a5491202e5a953950cc815be9536648 (diff)
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.
Diffstat (limited to 'lib/backup/registry.rb')
-rw-r--r--lib/backup/registry.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/backup/registry.rb b/lib/backup/registry.rb
index 67fe0231087..91698669402 100644
--- a/lib/backup/registry.rb
+++ b/lib/backup/registry.rb
@@ -5,9 +5,5 @@ module Backup
def initialize
super('registry', Settings.registry.path)
end
-
- def create_files_dir
- Dir.mkdir(app_files_dir, 0700)
- end
end
end