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
12385d88
Commit
12385d88
authored
Dec 09, 2020
by
Kenneth Chu
Committed by
Achilleas Pipinellis
Dec 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify instructions on performing a restore on a source installation
parent
17039d83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+12
-1
No files found.
doc/raketasks/backup_restore.md
View file @
12385d88
...
...
@@ -840,11 +840,22 @@ Read more about [configuring NFS mounts](../administration/nfs.md)
### Restore for installation from source
First, ensure your backup tar file is in the backup directory described in the
`gitlab.yml`
configuration:
```
yaml
## Backup settings
backup
:
path
:
"
tmp/backups"
# Relative paths are relative to Rails.root (default: tmp/backups/)
```
The default is
`/home/git/gitlab/tmp/backups`
, and it needs to be owned by the
`git`
user. Now, you can begin the backup procedure:
```
shell
# Stop processes that are connected to the database
sudo
service gitlab stop
bundle
exec
rake gitlab:backup:restore
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake gitlab:backup:restore
RAILS_ENV
=
production
```
Example output:
...
...
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