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 1n9A1R-0000hn-Q6 for pgsql-general@arkaria.postgresql.org; Sun, 16 Jan 2022 18:12:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n9A1Q-0005xt-Ac for pgsql-general@arkaria.postgresql.org; Sun, 16 Jan 2022 18:12:56 +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 1n9A1P-0005xi-W3 for pgsql-general@lists.postgresql.org; Sun, 16 Jan 2022 18:12:55 +0000 Received: from co01.mbox.net ([165.212.64.31]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n9A1I-0006q2-Pr for pgsql-general@lists.postgresql.org; Sun, 16 Jan 2022 18:12:54 +0000 Received: from co01.mbox.net (localhost [127.0.0.1]) by co01.mbox.net (Postfix) with ESMTP id 4JcNRz1XCxzsG7QR for ; Sun, 16 Jan 2022 18:12:47 +0000 (UTC) X-USANET-Received: from co01.mbox.net [127.0.0.1] by co01.mbox.net via mtad (C8.MAIN.4.26U) with ESMTP id 358AaPsmp6560M01; Sun, 16 Jan 2022 18:12:41 -0000 X-USANET-Routed: 3 gwsout-vs Q:cmvirus X-USANET-Routed: 3 gwsout-vs Q:cmvirus X-USANET-GWS2-Tenant: usa.net X-USANET-GWS2-Tagid: UNKN Received: from ca33.cms.usa.net [165.212.11.133] by co01.mbox.net via smtad (C8.MAIN.4.30X) with ESMTP id XID000AaPsmp2287X01; Sun, 16 Jan 2022 18:12:40 -0000 X-USANET-Source: 165.212.11.133 OUT issa-gorissen@usa.net ca33.cms.usa.net CLR X-USANET-MsgId: XID000AaPsmp2287X01 Received: from [192.168.79.102] [85.201.45.198] by ca33.cms.usa.net (ESMTPSA/flop.m@usa.net) via mtad (C8.MAIN.4.26U) with ESMTPSA id 931AaPsmO1200M33 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256); Sun, 16 Jan 2022 18:12:40 -0000 X-USANET-Auth: 85.201.45.198 AUTH flop.m@usa.net [192.168.79.102] TLS Message-ID: Date: Sun, 16 Jan 2022 19:12:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: WAL Archiving and base backup Content-Language: en-GB To: pgsql-general@lists.postgresql.org References: <164bc278-a4cd-f7cf-613b-e1c94aa63e56@usa.net> <1d73a885-1c78-eec5-fbc6-fe5e0f621e5f@usa.net> <20220114183144.GA10577@tamriel.snowman.net> <20220114194054.GC10577@tamriel.snowman.net> <30ced7b9-7e00-ffb7-f110-6a05b4bd6fe1@gmail.com> <8b32a7fb-2bf9-a326-52c8-58ca8e9507e7@gmail.com> From: Issa Gorissen In-Reply-To: <8b32a7fb-2bf9-a326-52c8-58ca8e9507e7@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Z-USANET-MsgId: XID931AaPsmp1200X33 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/16/22 01:23, Mladen Gogala wrote: > On 1/14/22 16:00, David G. Johnston wrote: >> I still don't really understand what is so great about it.  About its >> only redeeming feature is a declaration that "it is in core" and that >> newcomers can just default to it without thinking.  I'd rather just >> play favorites and write "use pgbackrest" in our documentation.  Or >> some hybrid approach where we don't just pick one but instead guide >> people to the community solutions that are out there.  I don't think I >> really want the people responsible for core to spend time on writing >> end-user backup tooling. Their time is much more valuably spent >> working on the core product. >> >> David J. >> > Well, the "without thinking" part of your post can be rephrased as "ease > of use". Do database administrators really need to think about which > backup software to use? What kind of knowledge will such an evaluation > provide? All commercial databases have some form of backup software > included into the core database. After all, backup and restore are > extremely important functions which IMHO should be provided along with > the database software. > > > -- > Mladen Gogala > Database Consultant > Tel: (347) 321-1217 > https://dbwhisperer.wordpress.com > Just to avoid any misunderstanding. I am perfectly happy using the backup/restore with pg_dump and we use it for at least a decade with success for our need of backups. My question is really in the context of WAL archiving and preparing a slave instance with a base 'non-exclusive' backup from a script (to be precise, on reboot of the server running the slave instance) since the exclusive way is deprecated. Thx for all your valuable comments -- Issa