summaryrefslogtreecommitdiff
path: root/doc/raketasks
diff options
context:
space:
mode:
authorDaniel Guilak <daniel.guilak@gmail.com>2016-12-24 15:38:25 -0800
committerDaniel Guilak <daniel.guilak@gmail.com>2016-12-24 15:38:25 -0800
commitd0a028a9d98de259edb71a10d99adb342df127e4 (patch)
treefc7a45ded39ec8aea43dfc121856c92cf2cbe03c /doc/raketasks
parent645412b57f558d58418aad278c9a3bf421439e1c (diff)
downloadgitlab-ce-d0a028a9d98de259edb71a10d99adb342df127e4.tar.gz
Add detail to backup_restore remote storage docs
- Location in which to add `gitlab_rails` configurations - Reminder to run `gitlab-ctl reconfigure` after changing gitlab_rails
Diffstat (limited to 'doc/raketasks')
-rw-r--r--doc/raketasks/backup_restore.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index f42bb6a81a2..3a4b8355187 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -91,7 +91,7 @@ In the example below we use Amazon S3 for storage, but Fog also lets you use
for AWS, OpenStack Swift and Rackspace as well. A local driver is
[also available](#uploading-to-locally-mounted-shares).
-For omnibus packages:
+For omnibus packages, add the following to `/etc/gitlab/gitlab.rb`:
```ruby
gitlab_rails['backup_upload_connection'] = {
@@ -106,6 +106,8 @@ gitlab_rails['backup_upload_connection'] = {
gitlab_rails['backup_upload_remote_directory'] = 'my.s3.bucket'
```
+Make sure to run `sudo gitlab-ctl reconfigure` after editing `/etc/gitlab/gitlab.rb` to reflect the changes.
+
For installations from source:
```yaml