diff options
author | Craig Fisher <craig.fisher@prolateral.com> | 2018-09-27 06:41:58 +0000 |
---|---|---|
committer | Craig Fisher <craig.fisher@prolateral.com> | 2018-09-27 06:41:58 +0000 |
commit | 24b3a77c84749e2be5a524f0c5828937ad1c77ef (patch) | |
tree | 8d12aeefd2d8261cc9ce674e7b5dbc77f224d30f | |
parent | 1ff3ef1c35ab46901f94e2a6278211dad952f399 (diff) | |
download | gitlab-ce-24b3a77c84749e2be5a524f0c5828937ad1c77ef.tar.gz |
Move chown *after* cp
-rw-r--r-- | doc/raketasks/backup_restore.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md index 5b58362562f..69f8ab753c3 100644 --- a/doc/raketasks/backup_restore.md +++ b/doc/raketasks/backup_restore.md @@ -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. ```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 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 |