postgresql_16:7.2.14.6 Examples
PostgreSQL 16 > Reference > PostgreSQL Client Applications > pg_receivewal > Examples
To stream the write-ahead log from the server at mydbserver and store it in the local directory /usr/local/pgsql/archive: $ pg_receivewal -h mydbserver -D /usr/local/pgsql/archive