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
ce853816
Commit
ce853816
authored
Jul 16, 2020
by
Anton Smith
Committed by
Achilleas Pipinellis
Jul 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs - Add missing Docker restore commands
parent
41f5da1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+16
-1
No files found.
doc/raketasks/backup_restore.md
View file @
ce853816
...
@@ -849,7 +849,22 @@ backup location (default location is `/var/opt/gitlab/backups`).
...
@@ -849,7 +849,22 @@ backup location (default location is `/var/opt/gitlab/backups`).
For Docker installations, the restore task can be run from host:
For Docker installations, the restore task can be run from host:
```
shell
```
shell
docker
exec
-it
<name of container> gitlab-backup restore
# Stop the processes that are connected to the database
docker
exec
-it
<name of container> gitlab-ctl stop unicorn
docker
exec
-it
<name of container> gitlab-ctl stop puma
docker
exec
-it
<name of container> gitlab-ctl stop sidekiq
# Verify that the processes are all down before continuing
docker
exec
-it
<name of container> gitlab-ctl status
# Run the restore
docker
exec
-it
<name of container> gitlab-backup restore
BACKUP
=
11493107454_2018_04_25_10.6.4-ce
# Restart the GitLab container
docker restart <name of container>
# Check GitLab
docker
exec
-it
<name of container> gitlab-rake gitlab:check
SANITIZE
=
true
```
```
NOTE:
**Note:**
NOTE:
**Note:**
...
...
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