summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-10-20 17:33:12 +0300
committerValery Sizov <valery@gitlab.com>2016-10-20 17:33:12 +0300
commit0c0caede85b0ea6082799ae9fa6afd74a1186006 (patch)
tree5cbafbe2974df6ac4976092148a48dba00d248bc /lib
parent8e218edbddd9a6fda34543e1f1ee39e44772c369 (diff)
downloadgitlab-ce-0c0caede85b0ea6082799ae9fa6afd74a1186006.tar.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/gitlab/backup.rake2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/backup.rake b/lib/tasks/gitlab/backup.rake
index b43ee5b3383..a9f1255e8cf 100644
--- a/lib/tasks/gitlab/backup.rake
+++ b/lib/tasks/gitlab/backup.rake
@@ -51,6 +51,7 @@ namespace :gitlab do
$progress.puts 'done'.color(:green)
Rake::Task['gitlab:backup:db:restore'].invoke
end
+
Rake::Task['gitlab:backup:repo:restore'].invoke unless backup.skipped?('repositories')
Rake::Task['gitlab:backup:uploads:restore'].invoke unless backup.skipped?('uploads')
Rake::Task['gitlab:backup:builds:restore'].invoke unless backup.skipped?('builds')
@@ -58,6 +59,7 @@ namespace :gitlab do
Rake::Task['gitlab:backup:lfs:restore'].invoke unless backup.skipped?('lfs')
Rake::Task['gitlab:backup:registry:restore'].invoke unless backup.skipped?('registry')
Rake::Task['gitlab:shell:setup'].invoke
+ Rake::Task['cache:clear'].invoke
backup.cleanup
end