我试图让 Bucardo 在 2 个 postgres 12 数据库之间执行多主机复制。我相信一切都安装正确,我可以配置复制。但是,什么也没有发生。下面是我尝试过的代码示例(但我尝试了很多变体)。大家有什么建议吗?
bucardo add db base dbname=postgres host=192.168.1.15 user=bricks pass=bricks
bucardo add db site dbname=postgres host=192.168.1.16 user=bricks pass=bricks
bucardo add dbgroup bricks here:source away:source
bucardo list dbgroups
#
bucardo add table bricks.brick_20201204 db=here
bucardo add table bricks.brick_20201204 db=away
#
bucardo add sync bricks_here_20201204 \
status=active \
conflict_strategy=bucardo_latest \
autokick=true \
dbgroup=bricks \
checktime=5 \
tables=bricks.brick_20201204
bucardo add sync bricks_away_20201204 \
status=active \
conflict_strategy=bucardo_latest \
autokick=true \
dbgroup=bricks \
checktime=5 \
tables=bricks.brick_20201204