Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3b4cf92d
Commit
3b4cf92d
authored
Jul 30, 2021
by
Silvester Wainaina
Committed by
Achilleas Pipinellis
Jul 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs to the correct shell command
parent
ddb8b928
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+1
-1
doc/topics/autodevops/upgrading_postgresql.md
doc/topics/autodevops/upgrading_postgresql.md
+2
-2
No files found.
doc/raketasks/backup_restore.md
View file @
3b4cf92d
...
...
@@ -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
)
.
```
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
...
...
doc/topics/autodevops/upgrading_postgresql.md
View file @
3b4cf92d
...
...
@@ -103,7 +103,7 @@ being modified after the database dump is created.
1.
Connect to the pod with:
```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.
...
...
@@ -221,7 +221,7 @@ higher*. This is the
1.
Connect to the pod:
```
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment