Skip to content
Snippets Groups Projects
Commit 2c8475e1 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'patch-29' into 'master'

Added `chown git` to the backup tar to prevent permission denied errors.

See merge request gitlab-org/gitlab-ce!21724
parents 8a95266b 24b3a77c
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -591,10 +591,11 @@ This procedure assumes that:
 
First make sure your backup tar file is in the backup directory described in the
`gitlab.rb` configuration `gitlab_rails['backup_path']`. The default is
`/var/opt/gitlab/backups`.
`/var/opt/gitlab/backups`. It needs to be owned by the `git` user.
 
```shell
sudo cp 11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar /var/opt/gitlab/backups/
sudo chown git.git /var/opt/gitlab/backups/11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar
```
 
Stop the processes that are connected to the database. Leave the rest of GitLab
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment