summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-11-17 01:05:48 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2014-11-17 01:05:48 +0100
commitee6da7eacdb3b62931c0549f32ade29e8866fe0b (patch)
tree46dd8ac55f2cb0cb5d8c6148288b39fb01776cd9
parentd9cb3ffaf03706877e4d58894ce89c1b9f7fb708 (diff)
parente0467e8f58d168900e7282160e1674a2125265cc (diff)
downloadgitlab-ce-ee6da7eacdb3b62931c0549f32ade29e8866fe0b.tar.gz
Merge pull request #8310 from bbodenmiller/patch-3
fix backup rake task
-rw-r--r--doc/raketasks/backup_restore.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index b4581e2a07a..d2f0d6e7bc1 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -14,7 +14,7 @@ You can only restore a backup to exactly the same version of GitLab that you cre
sudo gitlab-rake gitlab:backup:create
# if you've installed GitLab from source or using the cookbook
-bundle exec rake gitlab:backup:create RAILS_ENV=production
+sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
Example output: