Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1frkAy-0006tE-E1 for pgsql-bugs@arkaria.postgresql.org; Mon, 20 Aug 2018 13:24:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1frkAw-0003st-JC for pgsql-bugs@arkaria.postgresql.org; Mon, 20 Aug 2018 13:24:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1frkAw-0003sL-Cy for pgsql-bugs@lists.postgresql.org; Mon, 20 Aug 2018 13:24:54 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1frkAs-0003Km-Dc for pgsql-bugs@lists.postgresql.org; Mon, 20 Aug 2018 13:24:53 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 20DA35F79C; Mon, 20 Aug 2018 09:24:48 -0400 (EDT) Date: Mon, 20 Aug 2018 09:24:48 -0400 From: Stephen Frost To: David Steele Cc: Jeff Janes , Phil Endecott , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15335: Documentation is wrong about archive_command and existing files Message-ID: <20180820132447.GM3326@tamriel.snowman.net> References: <1534611104496@dmwebmail.dmwebmail.chezphil.org> <8402fafa-32ad-9fcd-f616-cf67131dec40@pgmasters.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wPZoOnycM2UpxKV4" Content-Disposition: inline In-Reply-To: <8402fafa-32ad-9fcd-f616-cf67131dec40@pgmasters.net> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --wPZoOnycM2UpxKV4 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * David Steele (david@pgmasters.net) wrote: > On 8/18/18 8:09 PM, Jeff Janes wrote: > > I think it might be a good idea to propose use of a canned solution, but > > I don't know how the community would feel about mentioning specific > > projects by name.=A0 And if we didn't mention any by name, I think it > > would be pretty awkward to advise to give. > There is a wiki page that lists the major backup solutions: >=20 > https://wiki.postgresql.org/wiki/Binary_Replication_Tools Interesting, though seems like there should be a distinction made between "backup" tools and "replication" tools, they're certainly different things. > But I don't think we ever reference the wiki from the core user > documentation. Very rarely. > We could at least list all the things that a good archive command should > do and point out that the example in the docs doesn't do them and that > it is intended *only* as an example. This sounds like a good idea to me, in general. I suggest we qualify the command shown further and say it's only provided as an illustration of how to set an archive_command and that it isn't an example. Perhaps we should even remove the shell-script bits and instead just have: archive_command =3D 'archivecmd /mnt/server/archivedir/%f %p' As long as we have something there that looks like valid shell script and which doesn't obviously fail, people are likely going to continue to use it. Thanks! Stephen --wPZoOnycM2UpxKV4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJbesEfAAoJEO1sijiDR2RV3UgQAKQphYsNt8t2b/KJF+gIc1vn xTf8hHai4ik//6BYWoCX464I8y2VwkU2oZktYFo3Rp7AXM6A84RcJbsr3nsNslss 65lW/Kz7/BC9/KEwPehH5vsBA8+eYug/6D+hy7nS1rUoSoI4kgA0TdjZp4+9FXCJ jZUHE2KB7XF1UJwz9AxgOWepIiwl5yyCT6npdGNMN4kXSJb4nHYx3/PpTK/NWw86 BxBAntOvNuESvxEVUXBhmquq+pLXvhWYrSJw1ApM5yi/ynQZyGCS59tyZdsFYYM7 tGtkIBM3ctcDLSVJ+CmwZXs1RhqVJhDPyZs6cOzQlaDSZ8PhypRWAI7gB0rjfpBu 2aN0ovID2k3ZoO28CkcnqUPIVR2NjbSEWxpCUvKY541KXXfw9MCFRzb/Y4S3KeEx urNwBqiP52MQInmIgBH4xWFFm8Y3EP+rl+GV6MzDErLKZqYzz8I7md8wqC7aQTBV Gee0rPV8Ey9nKTDZORu2kqBO81MP0DTsSsHg3jg/ZjZvYVE9tD9BBEgVOYYySEy0 kXLkNosjWEhVjTC5jhuEH+l0gWkAUoAChB/rbm5aaGjjuctRTfyxIt6OuAj1K9/w YydP/tjCb22qmGitRG5MPX45voplaHm08TpktPD7Yvrde0jCpApWJsQOXFNPofIJ RIprWfT8/SvMhfz7I1Sz =8cWq -----END PGP SIGNATURE----- --wPZoOnycM2UpxKV4--