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
7fe33dcc
Commit
7fe33dcc
authored
May 09, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
d8486732
615e57c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
changelogs/unreleased/add-warning-to-backup-rake-task.yml
changelogs/unreleased/add-warning-to-backup-rake-task.yml
+5
-0
lib/tasks/gitlab/backup.rake
lib/tasks/gitlab/backup.rake
+8
-0
No files found.
changelogs/unreleased/add-warning-to-backup-rake-task.yml
0 → 100644
View file @
7fe33dcc
---
title
:
Add warning that gitlab-secrets isn't included in backup
merge_request
:
author
:
type
:
other
lib/tasks/gitlab/backup.rake
View file @
7fe33dcc
...
...
@@ -20,6 +20,11 @@ namespace :gitlab do
backup
.
pack
backup
.
cleanup
backup
.
remove_old
puts
"Warning: Your gitlab.rb and gitlab-secrets.json files contain sensitive data
\n
"
\
"and are not included in this backup. You will need these files to restore a backup.
\n
"
\
"Please back them up manually."
.
color
(
:red
)
puts
"Backup task is done."
end
# Restore backup of GitLab system
...
...
@@ -68,6 +73,9 @@ namespace :gitlab do
Rake
::
Task
[
'cache:clear'
].
invoke
backup
.
cleanup
puts
"Warning: Your gitlab.rb and gitlab-secrets.json files contain sensitive data
\n
"
\
"and are not included in this backup. You will need to restore these files manually."
.
color
(
:red
)
puts
"Restore task is done."
end
namespace
:repo
do
...
...
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