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/lfs.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/lfs.rb')
| -rw-r--r-- | lib/backup/lfs.rb | 4 | 
1 files changed, 0 insertions, 4 deletions
| diff --git a/lib/backup/lfs.rb b/lib/backup/lfs.rb index 4153467fbee..4e234e50a7a 100644 --- a/lib/backup/lfs.rb +++ b/lib/backup/lfs.rb @@ -5,9 +5,5 @@ module Backup      def initialize        super('lfs', Settings.lfs.storage_path)      end - -    def create_files_dir -      Dir.mkdir(app_files_dir, 0700) -    end    end  end | 
