postgresql - postgres master master delta replication to RDS via bucardo -
i using bucardo-5.3.1 , trying replicate on premise postgresql database. have created master-master replication rds postgresql. able replicate if rds db empty , pg_dump done, problem arises when want delta replication. when try pg_dump -u $pgsuperuser -h $pghost --data-only -n bucardo $pgdatabase | pgoptions='-c session_replication_role=replica' psql -u $bucardouser -h $pghost2 -d $pgdatabase
i getting below error because session replication denied rds
psql: fatal: permission denied set parameter "session_replication_role"
i tried using below command well
bucardo update sync mysync1 onetimecopy=2
i tried using pg_restore still gives error: duplicate key value violates unique constraint
bucardo used export rds , londiste used import rds. this link might configure londiste.
Comments
Post a Comment