Skip to content

Commit c2c5c9a

Browse files
committed
neutralise archive command
1 parent 308fe85 commit c2c5c9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/pgbackrest/postgres.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ func PostgreSQL(
3939
outParameters.Mandatory.Add("archive_mode", "on")
4040

4141
if backupsEnabled {
42-
outParameters.Mandatory.Add("archive_command", archive)
42+
// outParameters.Mandatory.Add("archive_command", archive)
43+
outParameters.Mandatory.Add("archive_command", `true`)
4344
} else {
4445
// If backups are disabled, keep archive_mode on (to avoid a Postgres restart)
4546
// and throw away WAL.

0 commit comments

Comments
 (0)