Commit 24b3a77c authored by Craig Fisher's avatar Craig Fisher

Move chown *after* cp

parent 1ff3ef1c
...@@ -594,8 +594,8 @@ First make sure your backup tar file is in the backup directory described in the ...@@ -594,8 +594,8 @@ First make sure your backup tar file is in the backup directory described in the
`/var/opt/gitlab/backups`. It needs to be owned by the `git` user. `/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/
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