Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
cb767d87
Commit
cb767d87
authored
Aug 19, 2016
by
Geoff Webster
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document IAM Profile AWS S3 configuration key.
parent
2e34e5f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+7
-0
No files found.
doc/raketasks/backup_restore.md
View file @
cb767d87
...
...
@@ -79,6 +79,9 @@ gitlab_rails['backup_upload_connection'] = {
'region'
=>
'eu-west-1'
,
'aws_access_key_id'
=>
'AKIAKIAKI'
,
'aws_secret_access_key'
=>
'secret123'
# If using an IAM Profile, leave aws_access_key_id & aws_secret_access_key empty
# ie. 'aws_access_key_id' => '',
# 'use_iam_profile' => 'true'
}
gitlab_rails
[
'backup_upload_remote_directory'
]
=
'my.s3.bucket'
```
...
...
@@ -95,12 +98,16 @@ For installations from source:
region
:
eu-west-1
aws_access_key_id
:
AKIAKIAKI
aws_secret_access_key
:
'
secret123'
# If using an IAM Profile, leave aws_access_key_id & aws_secret_access_key empty
# ie. aws_access_key_id: ''
# use_iam_profile: 'true'
# The remote 'directory' to store your backups. For S3, this would be the bucket name.
remote_directory
:
'
my.s3.bucket'
# Turns on AWS Server-Side Encryption with Amazon S3-Managed Keys for backups, this is optional
# encryption: 'AES256'
```
If you are uploading your backups to S3 you will probably want to create a new
IAM user with restricted access rights. To give the upload user access only for
uploading backups create the following IAM profile, replacing
`my.s3.bucket`
...
...
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