Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9dIn-0004go-LK for pgsql-admin@arkaria.postgresql.org; Fri, 09 Jan 2015 17:24:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y9dIn-0006IB-4f for pgsql-admin@arkaria.postgresql.org; Fri, 09 Jan 2015 17:24:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y9dIl-0006Fw-Ew for pgsql-admin@postgresql.org; Fri, 09 Jan 2015 17:24:47 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9dIg-0002l9-NF for pgsql-admin@postgresql.org; Fri, 09 Jan 2015 17:24:46 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id AEAC3100497A for ; Fri, 9 Jan 2015 09:24:40 -0800 (PST) Date: Fri, 9 Jan 2015 10:24:40 -0700 (MST) From: David G Johnston To: pgsql-admin@postgresql.org Message-ID: <1420824280096-5833424.post@n5.nabble.com> In-Reply-To: <1Y9dC8-0002qL-2Y@l31.mail.transversal.net> References: <1Y9dC8-0002qL-2Y@l31.mail.transversal.net> Subject: Re: Replicating from 9.1.10 into 9.3.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Rob Cowell wrote > 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. If you mean ongoing streaming replication then, as indicated from the error message you are getting, no, you cannot mix server versions. Only logical replication can do that; which, for you, would be a third-party solution. David J. -- View this message in context: http://postgresql.nabble.com/Replicating-from-9-1-10-into-9-3-5-tp5833423p5833424.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin