diff options
Diffstat (limited to 'lib/backup/repository.rb')
-rw-r--r-- | lib/backup/repository.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb index bc517191939..2209a305d91 100644 --- a/lib/backup/repository.rb +++ b/lib/backup/repository.rb @@ -67,6 +67,8 @@ module Backup end def prepare_directories + return if GitalyClient.feature_enabled?(:backup_skip_prepare_directories) + Gitlab.config.repositories.storages.each do |name, repository_storage| gitaly_migrate(:remove_repositories) do |is_enabled| # TODO: Need to find a way to do this for gitaly |