Commit 95172605 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'sh-document-stop-sidekiq-puma-backup-restore' into 'master'

Add warning to stop Puma and Sidekiq when restoring from backup

See merge request gitlab-org/gitlab!40791
parents ac92f8cd d41405f5
---
title: Add warning to stop Puma and Sidekiq when restoring from backup
merge_request: 40791
author:
type: other
...@@ -47,6 +47,11 @@ namespace :gitlab do ...@@ -47,6 +47,11 @@ namespace :gitlab do
begin begin
unless ENV['force'] == 'yes' unless ENV['force'] == 'yes'
warning = <<-MSG.strip_heredoc warning = <<-MSG.strip_heredoc
Be sure to stop Puma, Sidekiq, and any other process that
connects to the database before proceeding. For Omnibus
installs, see the following link for more information:
https://docs.gitlab.com/ee/raketasks/backup_restore.html#restore-for-omnibus-gitlab-installations
Before restoring the database, we will remove all existing Before restoring the database, we will remove all existing
tables to avoid future upgrade problems. Be aware that if you have 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 custom tables in the GitLab database these tables and all data will be
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment