pgsql 主从数据库设置

binlog事项

https://blog.csdn.net/sunbocong/article/details/79500115 设置主从设置

https://blog.csdn.net/silenceray/article/details/54692908

rewind

采用pg -rewind 来进行数据的同步 https://www.postgresql.org/docs/10/app-pgrewind.html 使用rewind进行处理 http://mysql.taobao.org/monthly/2018/05/05/

升级数据库的版本,和恢复

在线增量备份与任意时间点进行恢复。 https://yq.aliyun.com/articles/59359 描述如何进行增量的备份 https://github.com/digoal/blog/blob/master/201708/20170823_03.md