Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tIFD5-00D9yq-Si for pgsql-general@arkaria.postgresql.org; Mon, 02 Dec 2024 22:48:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tIFD3-004Pwp-C2 for pgsql-general@arkaria.postgresql.org; Mon, 02 Dec 2024 22:48:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tIFD3-004Pwh-0c for pgsql-general@lists.postgresql.org; Mon, 02 Dec 2024 22:48:06 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tIFD1-000iys-DI for pgsql-general@postgresql.org; Mon, 02 Dec 2024 22:48:05 +0000 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id AE09D25401F5; Mon, 2 Dec 2024 17:48:02 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Mon, 02 Dec 2024 17:48:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1733179682; x=1733266082; bh=Okqg9R72Mja0WaBOKMLL76ztpRVewj7G/rwXdxdD93I=; b= gLfVsNWQ4Lb0eODK0j6OFmsRnxikCdFvgIctil5X0ssRteb71/me6lbSIq3RbAIM es7kHyot8y5+I5smmjkWRIfW4m3yw/z4SAkElmFVjllwTQF3Vnlneye9/zmmHEkF VRkD5uVUn224PY/DSKqGgiDXhZfdemUHaixfYrEwuIrRMx0yVUBKzDv9Cdxjq9Rs NOF09bebOqN4kJEAZy1/PtZ9rv1xuhGClS5FNzqrusKEDAVhvdah+4qYqzQVDLxJ kjdPXVZoltYgNY0lpjN6HfRIklBSwS6y17LAJD5kerYhQU1ax0TkJ/uBEcKxw80q Fwew6R+IZV2jCeNXtyWyuQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1733179682; x=1733266082; bh=O kqg9R72Mja0WaBOKMLL76ztpRVewj7G/rwXdxdD93I=; b=xV1JHWy7HRYwjeDrI lI/4WOrFlExysEnz3cLDfxb1++v2CRG1mPTSEkP0NeMRuHy1LTfDH/fKwGTfOE2z rApRPLLFY7IDo/AB6F1Pm8PrsCicgI8JG/ix0PfVAtkxHTL3+tU40V6/gw+Swn0Q RcmvslsPvlxHOwpk6Khn100kA4aptv+zI0u7ezZtweCUbqo4YW+hCBGCSAuspZfG 7/vFF+5UFMaQ1E23bK3gWwkdoXu9kpH+9u9JXINCp7arD2i/T8LmFgVkXrqWW1VH wRa2b99X2wM8W6p5eKlApDjRrEEWVS1cQztARw4IreFutkhkVPWlWKJHD2VCJsM2 DH14Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddriedtgddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuf fhvfhfjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcu oegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtth gvrhhnpeffffeiueejheehjeeukeehtefgveffvdfhkeegledtfedtteeltddtjedtleeh vdenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhes rghklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouh htpdhrtghpthhtoheprhhonhhljhhohhhnshhonhhjrhesghhmrghilhdrtghomhdprhgt phhtthhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 Dec 2024 17:48:01 -0500 (EST) Message-ID: <273a88dc-4134-47d5-bc19-30ff5f97926c@aklaver.com> Date: Mon, 2 Dec 2024 14:48:01 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Help in vetting my steps for Postgres DB upgrade from Ver 13.X to ver 15.X From: Adrian Klaver To: Ron Johnson , pgsql-general References: <0558ddd4d71641bdb41fa49b2425f73c@safrangroup.com> <98965993.3138805.1731699978332@mail.yahoo.com> <564950518.5117550.1733177884387@mail.yahoo.com> <07ab2d83-ffe5-4bec-9626-22a68f732579@aklaver.com> Content-Language: en-US In-Reply-To: <07ab2d83-ffe5-4bec-9626-22a68f732579@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/2/24 14:46, Adrian Klaver wrote: > On 12/2/24 14:31, Ron Johnson wrote: >> On Mon, Dec 2, 2024 at 5:18 PM Bharani SV-forum >> > wrote: >> >>     Team >>     Pl Help in vetting my steps for Postgres DB upgrade from Ver 13.X to >>     ver 15.X >> >>     Env = EC2 based Community PostgreSQL Ver 13.16.2 >> >>     we will be performing upgrade of our EC2 server too along with new >> OS. >> >>     Need help in vetting my steps for Postgres DB upgrade from Ver 13.X >>     to ver 15.X >>     *ASIS-existing server = EC2 with Community PostgreSQL Ver 13.16.2* >>     - ensure to capture all the pre.req meant for ver 15.10 are being >> met. >>     - shutdown db. >>     - take offline full backup (PG_DATA folder alone)  using OS command >> >>     *Proposed-new EC2 server (with new Operating System version along >>     Postgres Ver 15.10 Binaries)* >>     - install postgres 15.10 binaries >>     - ensure to DISABLE auto startup and shutdown of postgres 15.10 >>     -  Restore offline full backup (PG_DATA folder alone) using OS >> command >>     -  start performing pg_upgrade step to upgrade postgres from ver >>     13.16.2 to 15.10 >> >>     please guide me, if i have missed any steps in the abovesaid process >> >>     To start new DB features, planning to rollout out the following >>     feature's alone >>     a) TLE extension for password compliance >>     b) parallelize vacuum jobs to utilize -j option >> >> >> To migrate from one server to another while upgrading, one must use >> pg_dump/pg_restore OR Logical Replication. > > Really? > > Then this: > > https://www.postgresql.org/docs/current/pgupgrade.html > > must be random nose. Oh yeah, that was smooth. Second attempt: ... must be random noise. > >> >> -- >> Death to , and butter sauce. >> Don't boil me, I'm still alive. >> lobster! > -- Adrian Klaver adrian.klaver@aklaver.com