Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Hello jjanes,We only wanted to setup streaming replication. I followed the video tutorial([link]youtube.com/watch?v=XFp8wHNtP3s&vl=en). As per your suggestion, I will turn off archive_mode=off (I guess this is only change needs to be done in postgresql.conf in master and restart postgresql-9.4 services. Can you suggest if service restart is required, do we need to do any changes in slave conf files also?). Commented Jan 17, 2019 at 14:04
  • Also, for recovery purpose, I will write a script which will be scheduled as cronjob which will take pg_dump and pg_dumpall backup of databases on weekly basis(pg_dump) and twice in a week(pg_dump). This will be used to recover database/restore database of old days. Commented Jan 17, 2019 at 14:05