Commit 3b4cf92d authored by Silvester Wainaina's avatar Silvester Wainaina Committed by Achilleas Pipinellis

Update docs to the correct shell command

parent ddb8b928
...@@ -119,7 +119,7 @@ script on the GitLab task runner pod. For more details, see ...@@ -119,7 +119,7 @@ script on the GitLab task runner pod. For more details, see
[backing up a GitLab installation](https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/backup-restore/backup.md#backing-up-a-gitlab-installation). [backing up a GitLab installation](https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/backup-restore/backup.md#backing-up-a-gitlab-installation).
```shell ```shell
kubectl exec -it <gitlab task-runner pod> backup-utility kubectl exec -it <gitlab task-runner pod> -- backup-utility
``` ```
Similar to the Kubernetes case, if you have scaled out your GitLab cluster to Similar to the Kubernetes case, if you have scaled out your GitLab cluster to
......
...@@ -103,7 +103,7 @@ being modified after the database dump is created. ...@@ -103,7 +103,7 @@ being modified after the database dump is created.
1. Connect to the pod with: 1. Connect to the pod with:
```shell ```shell
kubectl exec -it production-postgres-5db86568d7-qxlxv --namespace "$APP_NAMESPACE" bash kubectl exec -it production-postgres-5db86568d7-qxlxv --namespace "$APP_NAMESPACE" -- bash
``` ```
1. Once, connected, create a dump file with the following command. 1. Once, connected, create a dump file with the following command.
...@@ -221,7 +221,7 @@ higher*. This is the ...@@ -221,7 +221,7 @@ higher*. This is the
1. Connect to the pod: 1. Connect to the pod:
```shell ```shell
kubectl exec -it production-postgresql-0 --namespace "$APP_NAMESPACE" bash kubectl exec -it production-postgresql-0 --namespace "$APP_NAMESPACE" -- bash
``` ```
1. Once connected to the pod, run the following command to restore the database. 1. Once connected to the pod, run the following command to restore the database.
......
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