From e0ea98f12cb2bedfb95ddc8b1ac6c542b9f37c98 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Mon, 1 Sep 2025 16:51:26 +0200 Subject: [PATCH 1/3] Update the unschedule message to use wording similar to the one on the dashboard. --- cmd/databases.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/databases.go b/cmd/databases.go index 43ce57fd8..683a4ad60 100644 --- a/cmd/databases.go +++ b/cmd/databases.go @@ -116,9 +116,9 @@ var ( } if disable { - continueB := askContinue("This operation will disable the periodic backups of a database. Are you sure?") + continueB := askContinue("Disabling periodic backups will prevent Scalingo from restoring your database in case of data loss or corruption. Backups are a critical safeguard, and we strongly recommend keeping them enabled. Do you want to continue? (yes/no)") if !continueB { - errorQuit(ctx, errors.New("unschedule operation was not confirmed")) + errorQuit(ctx, errors.New("Periodic backups are still enabled")) return nil } From 01891200bcb319330f78388c173921ff65e72334 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Fri, 5 Sep 2025 16:59:41 +0200 Subject: [PATCH 2/3] Update cmd/databases.go Co-authored-by: matthieu526-scalingo --- cmd/databases.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/databases.go b/cmd/databases.go index 683a4ad60..b924c1d47 100644 --- a/cmd/databases.go +++ b/cmd/databases.go @@ -118,7 +118,7 @@ var ( if disable { continueB := askContinue("Disabling periodic backups will prevent Scalingo from restoring your database in case of data loss or corruption. Backups are a critical safeguard, and we strongly recommend keeping them enabled. Do you want to continue? (yes/no)") if !continueB { - errorQuit(ctx, errors.New("Periodic backups are still enabled")) + errorQuit(ctx, errors.New("periodic backups are still enabled")) return nil } From d276dfc3711da74d51c341b653cf9a3330e3e7ee Mon Sep 17 00:00:00 2001 From: Benjamin Date: Tue, 9 Sep 2025 09:21:33 +0200 Subject: [PATCH 3/3] Add the changelog entry for the upcoming version. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bace8f30a..040d847ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## To Be Released +* task(backups-config): update error message when unscheduling periodic backup * feat(backups): prevent download of OpenSearch and Elasticsearch backups ### 1.38.0