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 1lWJDo-0002L9-M8 for pgsql-general@arkaria.postgresql.org; Tue, 13 Apr 2021 13:36:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lWJDn-0002Kb-Iq for pgsql-general@arkaria.postgresql.org; Tue, 13 Apr 2021 13:36:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWJDn-0002KT-B9 for pgsql-general@lists.postgresql.org; Tue, 13 Apr 2021 13:36:51 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lWJDk-0005Bv-Gr for pgsql-general@postgresql.org; Tue, 13 Apr 2021 13:36:50 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 3D9532591BF95 for ; Tue, 13 Apr 2021 06:36:48 -0700 (MST) Date: Tue, 13 Apr 2021 06:36:48 -0700 (MST) From: MaXinjian To: pgsql-general@postgresql.org Message-ID: <1618321008208-0.post@n3.nabble.com> In-Reply-To: References: <1618306690542-0.post@n3.nabble.com> Subject: Re: "missing chunk number 0 for toast value xxx in pg_toast_xxx" when pg_basebackup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Why do you write the WAL to /tmp/pg_wal, only to later mount that at the > default location? pg_wal dir has size limitation, if wal files are too large, they will be overwrited, right? > I see nothing wrong with what you are doing, but I may have got lost in > your complicated procedure. > You don't happen to remove "backup_label", do you? em, I do remove backup_label... 1. It means recovery.conf is not necessary, backup_label is necessary? 2. Which key in backup_label is necessary? 3. I searched the log, it do has recoveried. Then, if there is no backup_label, what's the default START WAL LOCATION an= d CHECKPOINT LOCATION=EF=BC=9F -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.h= tml