CmdID

CmdID / Commands

pg_receivewal

Stream the write-ahead log from a running PostgreSQL cluster. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Stream WAL to a local directory (minimum required)

pg_receivewal --directory directoryIdentify

Stream WAL to a local directory, specifying host, port, and username, with verbose output

pg_receivewal --verbose --host host --port port --username username --directory directoryIdentify

Use replication slot (create-if-needed)

pg_receivewal --slot slot_name --create-slot --host host --port port --username username --directory directoryIdentify

Stop at a given WAL position (LSN)

pg_receivewal --endpos lsn --directory directory --host host --port port --username usernameIdentify

Control looping on failure

pg_receivewal --no-loop --directory directory --host host --port port --username usernameIdentify

Flush data synchronously (force WAL writes immediately)

pg_receivewal --synchronous --directory directory --host host --port port --username usernameIdentify

Compress WAL output (gzip, level 0-9)

pg_receivewal --compress level --directory directory --host host --port port --username usernameIdentify

Set status reporting interval

pg_receivewal --status-interval seconds --directory directory --host host --port port --username usernameIdentify