Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
G
GitLab Community Edition
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
Stan Hu
GitLab Community Edition
Commits
3ce174c3
Commit
3ce174c3
authored
8 years ago
by
Drew Blessing
Browse files
Options
Downloads
Patches
Plain Diff
Fix restore warning message
parent
3b33cbb2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG
+1
-0
1 addition, 0 deletions
CHANGELOG
lib/tasks/gitlab/backup.rake
+2
-1
2 additions, 1 deletion
lib/tasks/gitlab/backup.rake
with
3 additions
and
1 deletion
CHANGELOG
+
1
−
0
View file @
3ce174c3
...
...
@@ -20,6 +20,7 @@ v 8.10.0 (unreleased)
v 8.9.3 (unreleased)
- Decreased min width of screen to 1280px for pinned sidebar
- Fix restore Rake task warning message output !4980
- Fix encrypted data backwards compatibility after upgrading attr_encrypted gem
- Update mobile button icons to be more inline with typical UI paradigms
...
...
This diff is collapsed.
Click to expand it.
lib/tasks/gitlab/backup.rake
+
2
−
1
View file @
3ce174c3
...
...
@@ -33,12 +33,13 @@ namespace :gitlab do
unless
backup
.
skipped?
(
'db'
)
unless
ENV
[
'force'
]
==
'yes'
warning
=
warning
=
<<-
MSG
.
strip_heredoc
warning
=
<<-
MSG
.
strip_heredoc
Before restoring the database we recommend removing all existing
tables to avoid future upgrade problems. Be aware that if you have
custom tables in the GitLab database these tables and all data will be
removed.
MSG
puts
warning
.
color
(
:red
)
ask_to_continue
puts
'Removing all tables. Press `Ctrl-C` within 5 seconds to abort'
.
color
(
:yellow
)
sleep
(
5
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment