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 1mK12v-000538-9U for pgsql-general@arkaria.postgresql.org; Sat, 28 Aug 2021 16:19:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mK12s-0007vK-DK for pgsql-general@arkaria.postgresql.org; Sat, 28 Aug 2021 16:19:02 +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 1mK12q-0007vC-Lf for pgsql-general@lists.postgresql.org; Sat, 28 Aug 2021 16:19:02 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mK12n-0001Yg-BC for pgsql-general@lists.postgresql.org; Sat, 28 Aug 2021 16:19:00 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4D03C5C0074; Sat, 28 Aug 2021 12:18:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 28 Aug 2021 12:18:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=N 2KwmxfevtQQx7ldqXYuc5WpviFcEwx9IYigEfwdBgM=; b=K3jken5eZ97Jh/OGq psFKlOYkwns90xDMvJ3eaOLoOpVOO4fRJliCfvQH7GZk8LwcWfUVaof50crFw7JE Zr9KC/JUrq1IVbh+BGjalI00yydoviOOeyT56z2kPdHGV2wBrdZbAT6UgHF5J+Rk hnxs+ChpzIuJB5HpwLmXTJugfuumTBia0ti4R43mBcmTq9aWaDMGWrVXN8xGbgJ1 3VESLIh2KyxZAoRT7c4U/nVaxuao7TAgW1Mhy0uVLTAeeut8uNtr5rNWukLfGZu3 3xzZswVJZSTLmZRZNg8B9wSuB4ieO+eSpZlMOo7dWCOTX3RZXI3suxYr4WDkqRDv SVoHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm3; bh=N2KwmxfevtQQx7ldqXYuc5WpviFcEwx9IYigEfwdB gM=; b=E61+pMTxOFGyIqZZXV+Vu/2pC07+qfPBcwBtezQKU2Wg9hqPqgK2bvXDB ERO596NF700wHVntQtmIkMm27lYKpnOtXuu5tCQKtKfHCoAcdBHpH41suNPWc4RD kZMN5h4HM1dKYdzkoxqmBmJlLq7VN1zS8A3sYsVwb17yh2elfwpAsXGC4V1ctMId 8Bi0ot84MhvmGsSSS28GYy6Ke/x6+0fvhvH4G1nEK1wI4aCfTOigabj8UQI7B5xg XlsoCbvBnrbJbchfdoS9msHj/fe96qdHIxB77CNprerk+msTSCX7Nt7UVUXWbEGF lQxafIgHDZH9Txh6lT0YtIsCMfPKw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudduhedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepveevfeevfeeugeffkeekhfegieeufffgteeujedv gffhueejjefhkeejleegtdegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 28 Aug 2021 12:18:53 -0400 (EDT) Subject: Re: Unexpected block ID found when reading data To: Gilar Ginanjar , Vijaykumar Jain Cc: pgsql-general References: <0E5BA871-06D7-413B-930E-4A523FF1847C@innovation-project.com> <08fc89dd-c974-880d-26ca-c1a6c7ab1d1d@aklaver.com> <7D88A569-8920-41E0-BF77-EB16FB2934BB@innovation-project.com> From: Adrian Klaver Message-ID: Date: Sat, 28 Aug 2021 09:18:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 8/27/21 5:31 PM, Gilar Ginanjar wrote: > Hi, sorry it's been a long time to reply. > > It throw the same errors. I can't find any solution. It frustrated me > and i've been on a break since. ;) Per upstream advice do something like: pg_restore -U myuser -s -d mydb dbdump.backup to get the schema definitions into the database. Then: pg_restore -U myuser -a -t -d mydb dbdump.backup to restore the data for a table at a time. You will mostly likely hit an error on one or more tables, but you will get the rest in and know where your problem is. > > >> On 5 Aug 2021, at 00.50, Vijaykumar Jain >> > > wrote: >> >> On Tue, 3 Aug 2021 at 20:37, Gilar Ginanjar >> > >> wrote: >> >> I’m not sure which patch version i used to dump, but i was using >> postgre 12.5 for pg_dump back then. >> >> I’m running pg_restore -f dbdump.backup right now, I think it will >> take some times because it has a large size (around 9 GB). There >> are no issues yet. >> >> >> Did this complete without issues ? or did it throw the same errors ? > -- Adrian Klaver adrian.klaver@aklaver.com