diff --git a/internal/backup/backup.go b/internal/backup/backup.go index bdf721d9..9a82a1d5 100644 --- a/internal/backup/backup.go +++ b/internal/backup/backup.go @@ -120,7 +120,7 @@ func Create(cfg *core.Configuration, reason string) (nowTime time.Time, returned "--host", cfg.PgHostname, "--username", cfg.PgUsername, //NOTE: PGPASSWORD comes via inherited env variable "--compress", "5", - "--clean", "--create", "--if-exist", databaseName) + "--clean", "--create", "--if-exist", "--no-privileges", databaseName) logg.Info(">> " + shellquote.Join(cmd.Args...)) cmd.Stdout = pipeWriter cmd.Stderr = os.Stderr