From d0a028a9d98de259edb71a10d99adb342df127e4 Mon Sep 17 00:00:00 2001 From: Daniel Guilak Date: Sat, 24 Dec 2016 15:38:25 -0800 Subject: 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 --- doc/raketasks/backup_restore.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1