February 2020
Intermediate to advanced
734 pages
38h 13m
English
Assuming we have a server that should be archiving transaction logs, follow these steps to store them in a cloud service using WAL-E:
archive_command = 'envdir ~postgres/env wal-e wal-push %p' archive_timeout = '60'
pg_ctl -D /db/pgdata reload
SELECT pg_switch_wal();
SELECT pg_switch_xlog();
Read now
Unlock full access