summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2017-01-11 21:37:57 +0000
committerMarin Jankovski <marin@gitlab.com>2017-01-11 21:37:57 +0000
commit3fc91a3598499db5ecb89bc299ca0c257c4572a7 (patch)
tree62844bcf9fa3890dd00ce1a23e413449be1bac63 /doc
parent1ff2dfa1cc6ba125ed53d42443713dcbda3f57f6 (diff)
parentd0a028a9d98de259edb71a10d99adb342df127e4 (diff)
downloadgitlab-ce-3fc91a3598499db5ecb89bc299ca0c257c4572a7.tar.gz
Merge branch 'backup-restore-documentation-tips' into 'master'
Add detail to backup_restore omnibus remote storage docs See merge request !8306
Diffstat (limited to 'doc')
-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 51f7454610d..f6b4db71b44 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -94,7 +94,7 @@ In the example below we use Amazon S3 for storage, but Fog also lets you use
for AWS, Google, 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'] = {
@@ -109,6 +109,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