pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric Katchan <eric.katchan@concordia.ca>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Postgres 9.6 Slave Creation
Date: Sat, 9 Mar 2019 13:49:02 +0000
Message-ID: <1552139342305.15543@concordia.ca> (raw)

Hello,


We have recently upgraded our postgres cluster from 9.1 to 9.6.  we are having a difficult time creating our slave server.  We have encountered the "contrecord is requested" error which is preventing the slave from starting up.  We have recreated the slave , still no luck.  Our master is running apparently without issue.  We did not use the pg_basebackup command but the


pg_start_backup

tar

pg_stop_backup?



How can we debug?  I am afraid to stop and start our master server in case there is data corruption and it will not start.  I have however successfully restored the database using a pg_dump onto another machine  (I understand that this cannot be used for slave creation, I just wanted to verify that I could restore the new upgraded db).  Would it be better to use the streaming pg_basebackup command?


Please advise.

Eric

view thread (2+ messages)  latest in thread

Message-ID: <1552139342305.15543@concordia.ca>
Permalink:  ../1552139342305.15543@concordia.ca/
Also on:    postgresql.org/message-id/1552139342305.15543@concordia.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: eric.katchan@concordia.ca
  Subject: Re: Postgres 9.6 Slave Creation
  In-Reply-To: <1552139342305.15543@concordia.ca>
  References: <1552139342305.15543@concordia.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox