diff options
author | Balasankar "Balu" C <balasankar@gitlab.com> | 2018-03-05 13:55:02 +0530 |
---|---|---|
committer | Balasankar "Balu" C <balasankar@gitlab.com> | 2018-03-30 11:38:36 +0530 |
commit | 8785f237959a1e59fee8f628b76e476040848e24 (patch) | |
tree | 6becf45dd48e0ccc7fa45611af9376556637b2da /lib/backup/registry.rb | |
parent | 9b76d8512a5491202e5a953950cc815be9536648 (diff) | |
download | gitlab-ce-8785f237959a1e59fee8f628b76e476040848e24.tar.gz |
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.rb | 4 |
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 |