Hacker News new | ask | show | jobs
by anarazel 3707 days ago
Do you prevent segments from being removed while they're not yet received by pg_receivexlog? wal_keep_segments or replication slots?
1 comments

A replication slot can be used by defining it in the pghoard.json configuration. However, the slot needs to be created (and removed after no longer needed, important!) manually. We've been planning to add more automatic replication slot management to PGHoard.
Good. Without archiving or slots in place, you really can't rely on such backups...