Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSk6m-0005Yu-Pm for pgsql-general@arkaria.postgresql.org; Thu, 07 Nov 2019 15:54:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iSk6l-0007US-6D for pgsql-general@arkaria.postgresql.org; Thu, 07 Nov 2019 15:54:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSk6k-0007UH-NF for pgsql-general@lists.postgresql.org; Thu, 07 Nov 2019 15:54:02 +0000 Received: from athena.simkin.ca ([2607:f040:1001:2::ff:2]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iSk6i-0004zX-83 for pgsql-general@lists.postgresql.org; Thu, 07 Nov 2019 15:54:01 +0000 Received: from skynet.simkin.ca (d205-250-70-177.bchsia.telus.net [205.250.70.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by athena.simkin.ca (Postfix) with ESMTPSA id D55F8DC696E8 for ; Thu, 7 Nov 2019 07:53:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.simkin.ca; s=athena; t=1573142037; bh=sWqxysOOcEYhbhfhOurmagm8Rm99Ux+xks5Y8KuWjxw=; h=Subject:From:To:Date:From:To:Subject:Date:Reply-To; b=CPDKcuN42B/OT6dW7j4AbsV4l+LMSeHxV67Wj/wWj/KN2YQ40Qokn5mMGjC8qJ/S2 VbOarfO0yEAFIt3ocea+av+WHY6QQz+UQiXKxbjTPFzhA/YnZlOV/9rTz34yWphFkL UzBVn5GgBakFFpkdY56fV1mApklK/51J2b7G4V+1V6F9zEgRM5E120bhQwQRh9YZmT MjbAjC/M6Ecz2+fXGKkld++UQuq8xIaquCG8Gg3sCJ1ZmmhlF4zEjAfyd/X1x/RwVp G27jRGqK7xES3HSeFTztclJITCpRcB+rzmBpntnnSkeKUyy/tNSFit5l0e+blSU1eE DNDKg1oGnjlhw== Received: from skynet.simkin.ca (skynet.simkin.ca [IPv6:::1]) by skynet.simkin.ca (Postfix) with ESMTP id 5C83721A5CB3C for ; Thu, 7 Nov 2019 07:53:57 -0800 (PST) Message-ID: <828fcbe08b16e9fcaf64cdf5ded08f863472784b.camel@lists.simkin.ca> Subject: Re: 11 -> 12 upgrade on Debian Ubuntu From: Alan Hodgson To: pgsql-general@lists.postgresql.org Date: Thu, 07 Nov 2019 07:53:57 -0800 In-Reply-To: <20191107154558.GA7759@panix.com> References: <20191107154558.GA7759@panix.com> Content-Type: multipart/alternative; boundary="=-TOFOlqoZHbpcjafeFlcZ" User-Agent: Evolution 3.30.5 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-TOFOlqoZHbpcjafeFlcZ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2019-11-07 at 10:45 -0500, stan wrote: > I am in the middle of a project, and it looks like version 12 is now what > the Debian/Ubuntu package managers want to update to. > > I of course, will do this first on a test machine, not the "production", or > "develop,met" machines, but I thought i would solicit the group wisdom on > this. > > Are there any things I should watch out for here? Will my data be preserved > during this upgrade? We are just beginning to put real data in the > "production" instance, and just yesterday, I set up a script to do backups > using pg_basebackup. BTW this is the 1st time I have sued this, having > used pg_dump in the past. Database is fairly small with just one > tablespace if that matters. You always need to use pg_dump or pg_upgrade to upgrade to a new major version of PostgreSQL. --=-TOFOlqoZHbpcjafeFlcZ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
On Thu, 2019-11-07 at 10:45 -0500, stan wrote:
I am in the middle of a project, and it looks like versio=
n 12 is now what
the Debian/Ubuntu package managers want to updat=
e to. 

I of course, will do this first on a test m=
achine, not the "production", or
"develop,met" machines, but I th=
ought i would solicit the group wisdom on
this.

Are there any things I should watch out for here? Will my data be p=
reserved
during this upgrade? We are just beginning to put real d=
ata in the
"production" instance, and just yesterday, I set up a =
script to do backups
using pg_basebackup. BTW this is the 1st tim=
e I have sued this, having
used pg_dump in the past. Database is =
fairly small with just one
tablespace if that matters.


You always need to use pg_dump o= r pg_upgrade to upgrade to a new major version of PostgreSQL.
<= /html> --=-TOFOlqoZHbpcjafeFlcZ--