summaryrefslogtreecommitdiff
path: root/doc/raketasks
diff options
context:
space:
mode:
authorMarcel Amirault <ravlen@gmail.com>2019-05-05 15:59:22 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-05-05 15:59:22 +0000
commitb05936cbfa6c72e158f976e3aa88c83a038f0cfa (patch)
tree44bfbc23b34f5e8f842e1f7fce4d0bb8b0d511cd /doc/raketasks
parent2229b189389b0d1b9e407ea1fc8648026f432cd4 (diff)
downloadgitlab-ce-b05936cbfa6c72e158f976e3aa88c83a038f0cfa.tar.gz
Docs: Merge Various EE /doc dirs to CE
Diffstat (limited to 'doc/raketasks')
-rw-r--r--doc/raketasks/cleanup.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/raketasks/cleanup.md b/doc/raketasks/cleanup.md
index e70a009323e..f5c788af578 100644
--- a/doc/raketasks/cleanup.md
+++ b/doc/raketasks/cleanup.md
@@ -23,6 +23,16 @@ sudo gitlab-rake gitlab:cleanup:repos
bundle exec rake gitlab:cleanup:repos RAILS_ENV=production
```
+Remove old repository copies from repositories moved to another storage.
+
+```
+# omnibus-gitlab
+sudo gitlab-rake gitlab:cleanup:moved
+
+# installation from source
+bundle exec rake gitlab:cleanup:moved RAILS_ENV=production
+```
+
Clean up local project upload files if they don't exist in GitLab database. The
task attempts to fix the file if it can find its project, otherwise it moves the
file to a lost and found directory.