Use the latest so we know we can pass -X none. -X fetch causes the
debsources backup to fail with a "requested WAL segment has already been
removed" error.
tmp=$(tempfile -d "$ROOTDIR" -p "BASE-$host:$port-" -s ".tar.gz")
trap "rm -f '$tmp'" EXIT
tmp=$(tempfile -d "$ROOTDIR" -p "BASE-$host:$port-" -s ".tar.gz")
trap "rm -f '$tmp'" EXIT
-/usr/lib/postgresql/"$version"/bin/pg_basebackup \
+/usr/bin/pg_basebackup \
--format=tar \
--pgdata=- \
--format=tar \
--pgdata=- \
--label="$label" \
--host="$host" \
--port="$port" \
--label="$label" \
--host="$host" \
--port="$port" \