如何让bucardo 5.6.0执行复制



我正试图让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

事实证明,每次操作后都必须重新启动bucardo。非常令人沮丧。

最新更新