From b05936cbfa6c72e158f976e3aa88c83a038f0cfa Mon Sep 17 00:00:00 2001 From: Marcel Amirault Date: Sun, 5 May 2019 15:59:22 +0000 Subject: Docs: Merge Various EE /doc dirs to CE --- doc/raketasks/cleanup.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/raketasks') 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. -- cgit v1.2.1