We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b29c95 commit 90800a8Copy full SHA for 90800a8
postgres-appliance/scripts/restore_command.sh
@@ -27,7 +27,7 @@ readonly wal_destination=$2
27
28
wal_dir=$(dirname "$wal_destination")
29
readonly wal_dir
30
-wal_fast_source=$(dirname "$(dirname "$(realpath "$wal_dir")")")/wal_fast/$wal_filename
+wal_fast_source=$(dirname "$PGDATA/wal_fast/$wal_filename")
31
readonly wal_fast_source
32
33
[[ -f $wal_fast_source ]] && exec mv "${wal_fast_source}" "${wal_destination}"
0 commit comments