summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bacc591)
The default was changed to -X stream, which doesn't work when sending to
stdout. There's no way to disable WAL that works with both 9.6 and 11,
so instead backup redundant WAL files with -X fetch.
/usr/lib/postgresql/"$version"/bin/pg_basebackup \
--format=tar \
--pgdata=- \
/usr/lib/postgresql/"$version"/bin/pg_basebackup \
--format=tar \
--pgdata=- \
--label="$label" \
--host="$host" \
--port="$port" \
--label="$label" \
--host="$host" \
--port="$port" \