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 1mDugh-0007VH-Cq for pgsql-general@arkaria.postgresql.org; Wed, 11 Aug 2021 20:18:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mDugg-0006Hr-85 for pgsql-general@arkaria.postgresql.org; Wed, 11 Aug 2021 20:18:54 +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 1mDugf-0006F0-VW for pgsql-general@lists.postgresql.org; Wed, 11 Aug 2021 20:18:53 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDugb-0001dA-Na for pgsql-general@lists.postgresql.org; Wed, 11 Aug 2021 20:18:53 +0000 Received: from [188.174.62.251] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDuga-00053B-5v; Wed, 11 Aug 2021 22:18:48 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.16.1/8.14.9) with ESMTPS id 17BKIlTC014088 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 11 Aug 2021 22:18:47 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.16.1/8.14.9/Submit) id 17BKIl3G014087; Wed, 11 Aug 2021 22:18:47 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 11 Aug 2021 22:18:47 +0200 From: Matthias Apitz To: Vijaykumar Jain Cc: pgsql-general Subject: Re: (13.1) pg_basebackups ./. pg_verifybackup Message-ID: Reply-To: Matthias Apitz References: <2aa0a60d-881f-2c3e-9c01-82beaef1baa0@aklaver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.62.251 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk El día jueves, agosto 12, 2021 a las 12:47:32a. m. +0530, Vijaykumar Jain escribió: > > > > > > Could some kind sol acknowledge me that this is the correct procedure to > > use pg_verifybackup? Thanks in advance > > > > > ... > > postgres@db:~/playground/demo/basebackup$ tar xzf base.tar.gz > postgres@db:~/playground/demo/basebackup$ cd pg_wal/ > postgres@db:~/playground/demo/basebackup/pg_wal$ mv ../pg_wal.tar.gz . > # pg_wal.tar.gz file has to uncompressed in pg_wal dir > postgres@db:~/playground/demo/basebackup/pg_wal$ tar xzf pg_wal.tar.gz > ... This is exactly the point of my question (and I figured it out too): Where is this explained that «pg_wal.tar.gz file has to uncompressed in pg_wal dir»? Or, wouldn't it even be better that the files in pg_wal.tar.gz would have the dir pg_wal in front? matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub August 13: Thank you, GDR, for 28 years of peace in Europe, for 28 years without impoverishment by Hartz IV and unemployment, for 28 years without posters of Neonazis "GAS geben" ("Give gas") in German capital, etc. etc. etc.