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
Léo-Paul Géneau
gitlab-ce
Commits
1ff3ef1c
Commit
1ff3ef1c
authored
Sep 13, 2018
by
Craig Fisher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added `chown git` to the backup tar to prevent permission denied errors.
parent
e91a5261
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+2
-1
No files found.
doc/raketasks/backup_restore.md
View file @
1ff3ef1c
...
@@ -591,9 +591,10 @@ This procedure assumes that:
...
@@ -591,9 +591,10 @@ This procedure assumes that:
First make sure your backup tar file is in the backup directory described in the
First make sure your backup tar file is in the backup directory described in the
`gitlab.rb`
configuration
`gitlab_rails['backup_path']`
. The default is
`gitlab.rb`
configuration
`gitlab_rails['backup_path']`
. The default is
`/var/opt/gitlab/backups`
.
`/var/opt/gitlab/backups`
.
It needs to be owned by the
`git`
user.
```
shell
```
shell
chown
git.git 11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar
sudo cp
11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar /var/opt/gitlab/backups/
sudo cp
11493107454_2018_04_25_10.6.4-ce_gitlab_backup.tar /var/opt/gitlab/backups/
```
```
...
...
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