BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
60963eac
Commit
60963eac
authored
Jan 29, 2018
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sh-digital-ocean-s3-docs' into 'master'
Digital Ocean Spaces now supports AWS v4 streaming API See merge request gitlab-org/gitlab-ce!16745
parents
dc325c67
e0c363ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
backup_restore.md
doc/raketasks/backup_restore.md
+10
-8
No files found.
doc/raketasks/backup_restore.md
View file @
60963eac
...
@@ -169,15 +169,11 @@ For Omnibus GitLab packages:
...
@@ -169,15 +169,11 @@ For Omnibus GitLab packages:
1.
[
Reconfigure GitLab
]
for the changes to take effect
1.
[
Reconfigure GitLab
]
for the changes to take effect
#### Digital Ocean Spaces
and other S3-compatible providers
#### Digital Ocean Spaces
Not all S3 providers are fully-compatible with the Fog library. For example,
This example can be used for a bucket in Amsterdam (AMS3).
if you see
`411 Length Required`
errors after attempting to upload, you may
need to downgrade the
`aws_signature_version`
value from the default value to
2
[
due to this issue
](
https://github.com/fog/fog-aws/issues/428
)
.
1.
For example, with
[
Digital Ocean Spaces
](
https://www.digitalocean.com/products/spaces/
)
,
1.
Add the following to
`/etc/gitlab/gitlab.rb`
:
this example configuration can be used for a bucket in Amsterdam (AMS3):
```ruby
```ruby
gitlab_rails['backup_upload_connection'] = {
gitlab_rails['backup_upload_connection'] = {
...
@@ -185,7 +181,6 @@ this example configuration can be used for a bucket in Amsterdam (AMS3):
...
@@ -185,7 +181,6 @@ this example configuration can be used for a bucket in Amsterdam (AMS3):
'region' => 'ams3',
'region' => 'ams3',
'aws_access_key_id' => 'AKIAKIAKI',
'aws_access_key_id' => 'AKIAKIAKI',
'aws_secret_access_key' => 'secret123',
'aws_secret_access_key' => 'secret123',
'aws_signature_version' => 2,
'endpoint' => 'https://ams3.digitaloceanspaces.com'
'endpoint' => 'https://ams3.digitaloceanspaces.com'
}
}
gitlab_rails['backup_upload_remote_directory'] = 'my.s3.bucket'
gitlab_rails['backup_upload_remote_directory'] = 'my.s3.bucket'
...
@@ -193,6 +188,13 @@ this example configuration can be used for a bucket in Amsterdam (AMS3):
...
@@ -193,6 +188,13 @@ this example configuration can be used for a bucket in Amsterdam (AMS3):
1.
[
Reconfigure GitLab
]
for the changes to take effect
1.
[
Reconfigure GitLab
]
for the changes to take effect
#### Other S3 Providers
Not all S3 providers are fully-compatible with the Fog library. For example,
if you see
`411 Length Required`
errors after attempting to upload, you may
need to downgrade the
`aws_signature_version`
value from the default value to
2
[
due to this issue
](
https://github.com/fog/fog-aws/issues/428
)
.
---
---
For installations from source:
For installations from source:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment