long options are king
authorPeter Palfrader <peter@palfrader.org>
Tue, 8 Oct 2019 18:53:47 +0000 (20:53 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 8 Oct 2019 18:53:47 +0000 (20:53 +0200)
modules/postgres/files/backup_server/postgres-make-one-base-backup

index f8baf1a..fb9a62a 100755 (executable)
@@ -84,7 +84,7 @@ trap "rm -f '$tmp'" EXIT
 /usr/bin/pg_basebackup \
        --format=tar \
        --pgdata=- \
-       -none \
+       --wal-method=none \
        --label="$label" \
        --host="$host" \
        --port="$port" \