Replicating from 9.1.10 into 9.3.5

From: Rob Cowell <rob(dot)cowell(at)transversal(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Replicating from 9.1.10 into 9.3.5
Date: 2015-01-09 17:17:50
Message-ID: 1Y9dC8-0002qL-2Y@l31.mail.transversal.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Hi,

Is it possible to set up replication from a 9.1.10 master to a 9.3.5 slave?
I've taken a base-backup from the master and rsync'd it over to the slave but I'm seeing the following error :

HINT: It looks like you need to initdb.
FATAL: database files are incompatible with server
DETAIL: The database cluster was initialized with PG_CONTROL_VERSION 903, but the server was compiled with PG_CONTROL_VERSION 937.

Would I be better off dumping the data from 9.1.10 and re-importing into 9.3.5, then starting replication ?
(or is there an easier way?) :)

Cheers,
Rob.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G Johnston 2015-01-09 17:24:40 Re: Replicating from 9.1.10 into 9.3.5
Previous Message Ferrell, Denise CTR NSWCDD, Z11 2015-01-09 16:22:40 PK/FK impacts using text data type