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 1oT7yi-00014L-SO for pgsql-docs@arkaria.postgresql.org; Tue, 30 Aug 2022 20:36:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oT7yg-0001eV-W5 for pgsql-docs@arkaria.postgresql.org; Tue, 30 Aug 2022 20:36:54 +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 1oT7yg-0001co-Or for pgsql-docs@lists.postgresql.org; Tue, 30 Aug 2022 20:36:54 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oT7ya-0005rX-98 for pgsql-docs@lists.postgresql.org; Tue, 30 Aug 2022 20:36:53 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1oT7yY-00D6zS-A9; Tue, 30 Aug 2022 16:36:46 -0400 Date: Tue, 30 Aug 2022 16:36:46 -0400 From: Bruce Momjian To: eugene.pliskin@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: No backup history file found Message-ID: References: <166150471493.654.9349065682650784852@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <166150471493.654.9349065682650784852@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Aug 26, 2022 at 09:05:14AM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/14/continuous-archiving.html > Description: > > Chapter 26.3.2. "Making a Base Backup" states that "To make use of the > backup, you will need to keep all the WAL segment files generated during and > after the file system backup. To aid you in doing this, the base backup > process creates a backup history file that is immediately stored into the > WAL archive area. This file is named after the first WAL segment file that > you need for the file system backup. For example, if the starting WAL file > is 0000000100001234000055CD the backup history file will be named something > like 0000000100001234000055CD.007C9330.backup." > > In my experience with pg_basebackup with tar format (-Ft) no backup history > file was produced. Instead I found first WAL segment name in "backup_label" > file inside of "base.tar" archive. Well, what happens is the the "backup_label" file is created in the WAL directory and that file gets backed up during the file system backup. That file will appear in the backup, like in the tar file. Can that text be improved? -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson