Bug 1419017 - pglogical replication fails after backup restore
Summary: pglogical replication fails after backup restore
Keywords:
Status: CLOSED DUPLICATE of bug 1459652
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Documentation
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: cfme-future
Assignee: Red Hat CloudForms Documentation
QA Contact: Red Hat CloudForms Documentation
URL:
Whiteboard: black:replication
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-03 12:36 UTC by luke couzens
Modified: 2018-02-27 00:47 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-27 00:47:48 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description luke couzens 2017-02-03 12:36:37 UTC
Description of problem: re-added replication subscription fails after running backup restore.


Version-Release number of selected component (if applicable):5.6.4


How reproducible:100%


Steps to Reproduce:
1.Provision 2 appliances rr99 rr1
2.Setup rr1 to remote region
3.Add subscription to global rr99
4.Add provider to confirm replication is working
5.Backup db's
6.Remove replication setting from both rr99-rr1
7.stop evmserverd both appliances
8.dropdb/createdb both appliances
9.run appliance_console restore on both appliances
10.Reconfigure pglogical replication step 2/3^^
11.Add or remove provider

Actual results:Nothing is replicated from rr1 to rr99


Expected results:Replication completes successfully


Additional info:
I used pg_dump to create my backups

Comment 2 Yuri Rudman 2017-06-13 12:42:57 UTC
Luke,  Could you test if executing backup/restore in a way described in https://bugzilla.redhat.com/show_bug.cgi?id=1459652 will keep pglogical replication work

Comment 3 luke couzens 2017-06-13 15:53:07 UTC
Backup and restore method does keep the pglogical replication configuration but it no longer functions correctly. We see backlog increase in size after restore and nothing being replicated.

Comment 4 luke couzens 2017-06-13 15:55:59 UTC
It is however possible to drop and re-add the subscription on the global region, But that kinda defeats the point I think.

Comment 5 Yuri Rudman 2017-06-14 13:13:38 UTC
I think steps to make sure that subscription works after restoring binary back-up should be documented together with steps for DB back-up/restore described in https://bugzilla.redhat.com/show_bug.cgi?id=1459652

Comment 6 Andrew Dahms 2018-02-27 00:47:48 UTC
BZ1459652, which documents how to perform a binary backup and restore, has now been closed out with input from Yuri.

Closing this bug as a duplicate for now.

*** This bug has been marked as a duplicate of bug 1459652 ***


Note You need to log in before you can comment on or make changes to this bug.