pg_receivewal
Stream the write-ahead log from a running PostgreSQL cluster. More information: https://www.postgresql.org/docs/current/app-pgreceivewal.html.
- Stream WAL to a local directory (minimum required):
pg_receivewal
- Stream WAL to a local directory, specifying host, port, and username, with verbose output:
pg_receivewal
- Use replication slot (create-if-needed):
pg_receivewal --create-slot
- Stop at a given WAL position (LSN):
pg_receivewal
- Control looping on failure:
pg_receivewal
- Flush data synchronously (force WAL writes immediately):
pg_receivewal --synchronous
- Compress WAL output (
gzip, level 0-9):
pg_receivewal
- Set status reporting interval:
pg_receivewal
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
