Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jSMf9-0008Jw-Sx for pgsql-general@arkaria.postgresql.org; Sat, 25 Apr 2020 15:24:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jSMf7-0001oA-A2 for pgsql-general@arkaria.postgresql.org; Sat, 25 Apr 2020 15:24:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jSMf5-0001o2-Hi for pgsql-general@lists.postgresql.org; Sat, 25 Apr 2020 15:24:13 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jSMey-0006WQ-TZ for pgsql-general@postgresql.org; Sat, 25 Apr 2020 15:24:08 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 198451572; Sat, 25 Apr 2020 11:24:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 25 Apr 2020 11:24:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=F Un4w/vYZ7aI0JDGDE7riutoceViv3rz7HqI3nxm//0=; b=u+XpfjunLoWx6rvoo eOeeizTAxWE0SVKg8W7HNziFHRe2p/80tM0fiG9NYRFNWzA6FqAxsTbnYrTMnQgE mhwIetu9NDRWafIIaEL5YupKk3poToAMQwe97BTqJmkeiEkDXrdCWz04oYM5uBGK 6hlyGCEUXoxJMxtJIqeYnEBs0U0Zjv/wm2kSAIcMet9PappR7IYRuGSOWAlFGrZL Lj7X0XokpQSj6ICXca2LI20IcVT1pSjpX8J/CPGmTwdwn/GF8NFJuCmSXSjWP2HA LJ1HW138IGV4tzCBSRrjE0bbNfEXOVOupe4DO8xaysFgxqQ16jsDylpkDgrD3Hq7 GQdPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=FUn4w/vYZ7aI0JDGDE7riutoceViv3rz7HqI3nxm/ /0=; b=MbENs5KO8F6fDTH0Sop5Tc+S/X9JwoOMBGjPLCHYZrRP6f8ZJIC+a9p6p Yv/qA2DGtuKNwjsRbXnNQ0AA/KJhAL14dBCP6pLVH++UW0ubLHMehIhkUWPYk7Y+ bzyq3g33zc2UgPnkAXt9yIOg9PsGqVyfPtjAjogbFolUFzXCTlWwAThsmGltY+/1 6H/KxK09C28slNgcV7pCze/Ry4COGpY8Q+DmuKxEXZTqv/aR6M2e8QYJ4GoW+4eZ SCmLRDFF/52xYrwl7MX1UfcQSm0GKU0zeR3DKrMoc3zxTnUJBy75CDf5Dezz/Q9L 8cY6I0y8gcRGwwe/6fPCP87q1NwxA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheeggdeigecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeeljedruddufedrvddtjedrudefkeenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrg hvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.10] (97-113-207-138.tukw.qwest.net [97.113.207.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 077803280068; Sat, 25 Apr 2020 11:23:58 -0400 (EDT) Subject: Re: Binary downloads and upgrading the host OS To: Tom Browder , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: <89bb3ba4-1978-1541-1f66-71198de96ec1@aklaver.com> Date: Sat, 25 Apr 2020 08:23:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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