Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cmd/databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down