pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Tom Browder <tom.browder@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Binary downloads and upgrading the host OS
Date: Sat, 25 Apr 2020 08:23:58 -0700
Message-ID: <89bb3ba4-1978-1541-1f66-71198de96ec1@aklaver.com> (raw)
In-Reply-To: <CAFMGiz-yq6bsUJCzLLD5PGx0J9MFidoK8P+Uk=42aeeK-z6idA@mail.gmail.com>
References: <CAFMGiz-yq6bsUJCzLLD5PGx0J9MFidoK8P+Uk=42aeeK-z6idA@mail.gmail.com>

On 4/25/20 8:04 AM, Tom Browder wrote:
> I am using the PostgreSQL binary downloads for Debian from your apt
> repositories.
> 
> I am about to upgrade from Debian 9 to Debian 10 and would like
> comments for my plan:
> 
> 1. I will follow Debian's instructions for upgrading from 9 to 10.
> 
> 2. Before I start the actual upgrade, I will:
> 
> + ensure all is up-to-date for my PostgreSQL as well as the rest of my system
> + temporarily comment out the PostgreSQL links in /etc/apt.
> + stop the pgsql server and prevent auto-restart upon reboot
> 
> 3. After the successful upgrade I assume I will:
> 
> + update the apt sources for PostgreSQL with the new name (buster)
> + update as usual
> + restart the pgsql server and resume auto-start upon reboot

Looks good to me. I'm assuming you are leaving the Postgres version the 
same though. Is that correct?

Also, if it is not already planned, to be on the safe side throw in a 
backup of some sort just before shutting down the server.

> 
> Thanks for your help.
> 
> Blessings,
> 
> -Tom
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (5+ messages)  latest in thread

Message-ID: <89bb3ba4-1978-1541-1f66-71198de96ec1@aklaver.com>
Permalink:  ../89bb3ba4-1978-1541-1f66-71198de96ec1@aklaver.com/
Also on:    postgresql.org/message-id/89bb3ba4-1978-1541-1f66-71198de96ec1@aklaver.com

 · 

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: adrian.klaver@aklaver.com, tom.browder@gmail.com
  Subject: Re: Binary downloads and upgrading the host OS
  In-Reply-To: <89bb3ba4-1978-1541-1f66-71198de96ec1@aklaver.com>
  References: <CAFMGiz-yq6bsUJCzLLD5PGx0J9MFidoK8P+Uk=42aeeK-z6idA@mail.gmail.com> <89bb3ba4-1978-1541-1f66-71198de96ec1@aklaver.com>

* 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