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
Léo-Paul Géneau
gitlab-ce
Commits
3c454b80
Commit
3c454b80
authored
Oct 30, 2017
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs for backing up to Google Cloud Storage
parent
6d7384f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+19
-0
No files found.
doc/raketasks/backup_restore.md
View file @
3c454b80
...
...
@@ -126,6 +126,25 @@ sudo gitlab-rake gitlab:backup:create SKIP=db,uploads
sudo -u git -H bundle exec rake gitlab:backup:create SKIP=db,uploads RAILS_ENV=production
```
#### Using Google Cloud Storage
If you want to use Google Cloud Storage to save backups, go to the storage
settings page, select "Interoperability" and create an access key there.
Copy "Access Key" and "Secret", fill the configurations in
`/etc/gitlab/gitlab.rb`
:
```
ruby
gitlab_rails
[
'backup_upload_connection'
]
=
{
'provider'
=>
'Google'
,
'google_storage_access_key_id'
=>
'Access Key'
,
'google_storage_secret_access_key'
=>
'Secret'
}
gitlab_rails
[
'backup_upload_remote_directory'
]
=
'my.google.bucket'
```
Make sure you have project and bucket setting up correctly, and run
`sudo gitlab-ctl reconfigure`
after making the changes.
### Uploading backups to a remote (cloud) storage
Starting with GitLab 7.4 you can let the backup script upload the '.tar' file it creates.
...
...
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