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 1rHRKC-002RxM-4Y for pgsql-general@arkaria.postgresql.org; Sun, 24 Dec 2023 16:27:36 +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 1rHRK8-00CE4G-L1 for pgsql-general@arkaria.postgresql.org; Sun, 24 Dec 2023 16:27:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rHRK6-00CE1f-Si for pgsql-general@lists.postgresql.org; Sun, 24 Dec 2023 16:27:32 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rHRK2-00DgcT-Df for pgsql-general@lists.postgresql.org; Sun, 24 Dec 2023 16:27:28 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 392425C0199; Sun, 24 Dec 2023 11:27:23 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 24 Dec 2023 11:27:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc: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=fm1; t=1703435243; x=1703521643; bh=wBF/KRRO5+5w2XMZF1H+uxEtOigsgmFqrWSdMP6ZQz0=; b= CFjkUAh1Yppb2ivWP6iJWyJFpUQBC88XO8WZ0ZxW0EI7CF45r30QJLJOsgql/5A7 yQec7pnqIcKsCYigPHc80MkEHjJ1OiDqE7e/DJRs+eOtXrflV9inee58Lxvh8mL2 i5vHF/q2ek8JOA4SC1mPA9vp8ug6j91Y/3TDZ0U9MbXsXTwdJVKuumSdgI7+4FqO mkoyFXPVrfYjrvXtlIN+5EpJny91mjuPzVqISSrzk8HFwZFJeFIQEScxWp2/Pud6 MHkuhlZ80zD+cNZEv+8bs7MpPJ18pFTHGGVyfl5a+iXz8xamAaiw89vR/qrsPPtd gbYRX/yQGDySUdii5VE+Pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703435243; x= 1703521643; bh=wBF/KRRO5+5w2XMZF1H+uxEtOigsgmFqrWSdMP6ZQz0=; b=P ka21oxffygyyzhdW3E/AsdxEtGneigEO39hHrr7e8DAfosy5/Qf/KWpj7qI97q0V 0zzxgONMm20uFd8m5qsoqpwt03vGTnDOxt0AJhoTZYj3QHkF8Pm3dMjv86XmHizT Dr6s3LSx6t0RO2XsZvAL6aw9oo8UD9NcWLYKy7Zslv2sk05TMmZ3/GEqKsqLlyDR RemoivfeW/0tQFiZ+jE/7rR7epHbLeYWmrtlRHmHneslvZjfcvo5Kjl4S211SVwa guOaVEfvxnt4pZtQnFBeyHP+ATZ7tiuFSfG/CuKLzKvMHvYuuzH7V8vYypPyoBEr Jzt4bNh6yIsw0bs9vV9MA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddvuddgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhephfeviefhveelffeftdehudekveefhfeftdegieef veetfffgfeehtdfftedutedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 24 Dec 2023 11:27:22 -0500 (EST) Message-ID: <2184af82-8dbd-4c78-9cc1-29f7a577e2f1@aklaver.com> Date: Sun, 24 Dec 2023 08:27:21 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Unable to start postgresql-14 To: Johnathan Tiamoh Cc: pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/24/23 08:03, Johnathan Tiamoh wrote: > Was this backup taken before the data directory was deleted? > > Yes. I restored it from a 1-day old backup, but unfortunately, I > couldn't apply the logs. If the backup was done using pg_dump as mentioned below why where you applying logs? You need to provide more information about what the customized script does and what logs you are using? > > If so how was the backup done? > It was taken with a customized script that uses pg_dump. > > Does this mean you recreated the data directory from some source and > then ran pg_resetwal? > > I recreated it from the backup > > Do you mean you did a pg_dumpall from the Postgres instance running on > the restored data directory? > > Yes. And it failed > -- Adrian Klaver adrian.klaver@aklaver.com