|
|
|
|
|
by nierman
3410 days ago
|
|
yes, wal archiving would have helped (archive_command = rsync standby ...), but it's also very easy in postgres 9.4+ to add a replication slot on the master so that wal is kept until it is no longer needed by the standby. simply reference the slot in the standby's recovery.conf file. definitely monitor your replication lag--or at least disk usage on the master--with this approach (in case wal starts piling up there). |
|