Commit 1ff3ef1c authored by Craig Fisher's avatar Craig Fisher

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

parent e91a5261
...@@ -591,9 +591,10 @@ This procedure assumes that: ...@@ -591,9 +591,10 @@ 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
chown git.git 11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar
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/
``` ```
......
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