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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
09dbbc27
Commit
09dbbc27
authored
Oct 09, 2017
by
Alexander
Committed by
Achilleas Pipinellis
Oct 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Simple documentation update - backup to restore in restore section"
parent
419b27eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+12
-2
No files found.
doc/raketasks/backup_restore.md
View file @
09dbbc27
...
@@ -370,7 +370,7 @@ This is recommended to reduce cron spam.
...
@@ -370,7 +370,7 @@ This is recommended to reduce cron spam.
## Restore
## Restore
GitLab provides a simple command line interface to
backup
your whole installation,
GitLab provides a simple command line interface to
restore
your whole installation,
and is flexible enough to fit your needs.
and is flexible enough to fit your needs.
The
[
restore prerequisites section
](
#restore-prerequisites
)
includes crucial
The
[
restore prerequisites section
](
#restore-prerequisites
)
includes crucial
...
@@ -445,6 +445,14 @@ Restoring repositories:
...
@@ -445,6 +445,14 @@ Restoring repositories:
Deleting tmp directories...[DONE]
Deleting tmp directories...[DONE]
```
```
Next, restore
`/home/git/gitlab/.secret`
if necessary as mentioned above.
Restart GitLab:
```
shell
sudo
service gitlab restart
```
### Restore for Omnibus installations
### Restore for Omnibus installations
This procedure assumes that:
This procedure assumes that:
...
@@ -480,10 +488,12 @@ restore:
...
@@ -480,10 +488,12 @@ restore:
sudo
gitlab-rake gitlab:backup:restore
BACKUP
=
1493107454_2017_04_25_9.1.0
sudo
gitlab-rake gitlab:backup:restore
BACKUP
=
1493107454_2017_04_25_9.1.0
```
```
Next, restore
`/etc/gitlab/gitlab-secrets.json`
if necessary as mentioned above.
Restart and check GitLab:
Restart and check GitLab:
```
shell
```
shell
sudo
gitlab-ctl start
sudo
gitlab-ctl
re
start
sudo
gitlab-rake gitlab:check
SANITIZE
=
true
sudo
gitlab-rake gitlab:check
SANITIZE
=
true
```
```
...
...
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