From 4ce366903ff38d5f1558443c2b8aa9973960baa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Wed, 1 Oct 2025 00:37:07 +0200 Subject: [PATCH] Update ct/sonarqube.sh --- ct/sonarqube.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ct/sonarqube.sh b/ct/sonarqube.sh index bc46854d..527d4be9 100644 --- a/ct/sonarqube.sh +++ b/ct/sonarqube.sh @@ -33,8 +33,10 @@ function update_script() { systemctl stop sonarqube msg_ok "Service stopped" + msg_info "Creating backup" BACKUP_DIR="/opt/sonarqube-backup" mv /opt/sonarqube ${BACKUP_DIR} + msg_ok "Backup created" curl -fsSL -o /tmp/sonarqube.zip "https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-${RELEASE}.zip"