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 1n8RMg-0006pn-61 for pgsql-general@arkaria.postgresql.org; Fri, 14 Jan 2022 18:31:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n8RMd-0001Oh-1B for pgsql-general@arkaria.postgresql.org; Fri, 14 Jan 2022 18:31:51 +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 1n8RMc-0001OX-MX for pgsql-general@lists.postgresql.org; Fri, 14 Jan 2022 18:31:50 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n8RMZ-0001lE-Uv for pgsql-general@lists.postgresql.org; Fri, 14 Jan 2022 18:31:49 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 14C8C5F79F; Fri, 14 Jan 2022 13:31:45 -0500 (EST) Date: Fri, 14 Jan 2022 13:31:45 -0500 From: Stephen Frost To: Issa Gorissen Cc: Torsten =?iso-8859-1?Q?F=F6rtsch?= , pgsql-general Subject: Re: WAL Archiving and base backup Message-ID: <20220114183144.GA10577@tamriel.snowman.net> References: <164bc278-a4cd-f7cf-613b-e1c94aa63e56@usa.net> <1d73a885-1c78-eec5-fbc6-fe5e0f621e5f@usa.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: <1d73a885-1c78-eec5-fbc6-fe5e0f621e5f@usa.net> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Issa Gorissen (issa-gorissen@usa.net) wrote: > Thx a lot. I thought about it but was not so sure about having a complex > script (compared to the very simple version when using the exclusive back= up > - but this this is deprecated...). >=20 > I will test your option with the simpler version and post it back to it c= an > maybe land in PostgreSQL documentation. The PG docs show how the command works and that's it. The commands in the docs aren't intended to be actually used in production environments. Writing a full solution involves having a good understanding of the PG code and how WAL archiving, backups, et al, are done. If you're not familiar with this portion of the PG code base, I'd strongly suggest you look at using solutions written and maintained by folks who are. Trying to write documentation on how to develop a complete solution would be quite an effort and would certainly go beyond bash scripting and likely wouldn't end up getting used anyway- those who are developing such solutions are already reading through the actual code. Thanks, Stephen --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJh4cGQAAoJEO1sijiDR2RVn1MP/jU2Rhx5Z+bNYSa/19IQGb2p 9QG6VVHHMaxXpO4VFQoC9aEKVe9R/C18CMZlnT4vdbKUYAkFOwclHNiJmjBuG2xo mvLTr1iDLgkMldA9EyCtvKzi9GLZG/hYrgQn7zd0JRqLA9cxWFxqlooHRIwgNtEs DF7WOQbbU9EUxyLXeEJvmVQyyDulRVmjmKT+yWNlYASR1Gakl5IJEDfOoV1PDgVO 7eUNnmLP4Q0840jQpAFx/tIdPWlM0wFrvL6lPyhcvF3jZQ/yS5u94RCea7TwnXQM KztRFeuHUxGQG7qD81FanzAilE5ksEBl8AQrihqhXAHhxgWJt6bbeUETv2gpjX0S Zn+K+fmXHdFSL1qvDB1Vt+mKYICY+mSQa/v545wDf6YcABsTs8ASVbKXrQUuUDwT q/XczFLdobIGGCZJn8wZy65+Lxlzih+KHMyvrQiGyIYvEuAwY7o6tm0Yv9hHeoeP 8diRazfL0iy82yFm9yYZ5sV1D2kYiFmnmCQGIYXkwja9CLmQT7VmG0Gh88zMmQp9 S1pjNL/WqyL/Ww4Huwm3bpHIkW6ooob1INVa9L7u5e7aV/+9ODl2DBR7wSzvVDRY JhD6BxpRESboaAOhVVPFqb1LIpyEb410q8xhE0DgpfNX0+sIm9AvmtCmR4jbQkxH 6ZDndpwQrSrwwzJSxWp+ =GJVk -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--