Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: enable pre-update-backup (#10227)

rebelicee0615e810251
diff --git a/backend/bin/server/cmd/root.go b/backend/bin/server/cmd/root.go
index e3a62a4944..1397e40798 100644
--- a/backend/bin/server/cmd/root.go
+++ b/backend/bin/server/cmd/root.go
@@ -128,7 +128,7 @@ func init() {
rootCmd.PersistentFlags().StringVar(&flags.demoName, "demo", "", "name of the demo to use. Empty means not running in demo mode.")
rootCmd.PersistentFlags().BoolVar(&flags.debug, "debug", false, "whether to enable debug level logging")
rootCmd.PersistentFlags().BoolVar(&flags.lsp, "lsp", true, "whether to enable lsp in SQL Editor")
- rootCmd.PersistentFlags().BoolVar(&flags.preUpdateBackup, "pre-update-backup", false, "whether to enable feature of data backup prior to data update")
+ rootCmd.PersistentFlags().BoolVar(&flags.preUpdateBackup, "pre-update-backup", true, "whether to enable feature of data backup prior to data update")
// Support environment variable for deploying to render.com using its blueprint file.
// Render blueprint allows to specify a postgres database along with a service.
// It allows to pass the postgres connection string as an ENV to the service.