We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 494558f commit 920292dCopy full SHA for 920292d
internal/pgbackrest/config.go
@@ -207,7 +207,7 @@ func RestoreCommand(pgdata string, args ...string) []string {
207
const restoreScript = `declare -r pgdata="$1" opts="$2"
208
install --directory --mode=0700 "${pgdata}"
209
rm -f "${pgdata}/postmaster.pid"
210
-eval "pgbackrest restore ${opts}"
+bash -xc "pgbackrest restore ${opts}"
211
rm -f "${pgdata}/patroni.dynamic.json"
212
export PGDATA="${pgdata}" PGHOST='/tmp'
213
0 commit comments