Skip to content
Snippets Groups Projects
Commit 8a16bcc5 authored by Rémy Coutable's avatar Rémy Coutable Committed by 🤖 GitLab Bot 🤖
Browse files

Merge branch 'sh-quiet-backup-secrets-log' into 'master'

Silence backup warnings when CRON=1 in use

Closes #63703

See merge request gitlab-org/gitlab-ce!30033

(cherry picked from commit d6c7d4c4)

ad3abd1d Silence backup warnings when CRON=1 in use
parent 364733ce
No related branches found
No related tags found
No related merge requests found
---
title: Silence backup warnings when CRON=1 in use
merge_request: 30033
author:
type: fixed
Loading
Loading
@@ -21,10 +21,10 @@ namespace :gitlab do
backup.cleanup
backup.remove_old
 
puts "Warning: Your gitlab.rb and gitlab-secrets.json files contain sensitive data \n" \
progress.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."
progress.puts "Backup task is done."
end
 
# Restore backup of GitLab system
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment