Commit 2c8475e1 authored by Rémy Coutable's avatar Rémy Coutable

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
...@@ -591,10 +591,11 @@ This procedure assumes that: ...@@ -591,10 +591,11 @@ This procedure assumes that:
First make sure your backup tar file is in the backup directory described in the 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 `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 ```shell
sudo cp 11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar /var/opt/gitlab/backups/ 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 Stop the processes that are connected to the database. Leave the rest of GitLab
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment