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 1g9Rmi-0006Ad-RC for pgsql-general@arkaria.postgresql.org; Mon, 08 Oct 2018 09:25:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g9Rmh-000336-Ad for pgsql-general@arkaria.postgresql.org; Mon, 08 Oct 2018 09:25:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g9Rmg-00032c-Uy for pgsql-general@lists.postgresql.org; Mon, 08 Oct 2018 09:25:03 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g9Rme-0001WK-Ee for pgsql-general@postgresql.org; Mon, 08 Oct 2018 09:25:01 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 3D0A9951; Mon, 8 Oct 2018 05:24:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 08 Oct 2018 05:24:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=mNkDmEOGj/reWbSQGI+gs/HvT5F dj8NEms763mwJ234=; b=qdlQ91DpDXEz9wpcWMExdhmPU8ihVovvuWV3liXA+AL foH8W9AlkwIWfGhy7rjmeXD/hJpgixc1e7wMvuhS70keY16xgld2jmQsevBkODd4 PAPU1y35ZZEc+I9/4WicBAxYxblm0FYxG/Rbhq4XKLTv9bHYG4OwBNx0aUm6BLZ6 Q8YpsXWbzi7DQebvzHFX8BPijtkNGnx0ZIorWsKC7EvWC9z3p3XO4SFywlKHZN+1 0owEwu1k5u/tRnDV+Kh6HjDznZ1NU4P4tN151zGvU/I4+1Qo1J0QS/a4EULb2JD5 9vq5y63VsWhxF6lkMnFDIoPSRa/tGrw75OWGFOhssEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=mNkDmE OGj/reWbSQGI+gs/HvT5Fdj8NEms763mwJ234=; b=MV6b2ZHjqj5iKimscl817F o+rCEDqmwHbEVpp1I/kTUcbc4DwXkqkGSTvABljt8bynycoF1nHHkzc0jUQlQZuf Ci8Gtt0xInAsQBmWg2LMxZD3mKd/beCfLeItnfWGOfJbT94jzaIVKF+6othfWf7G ihuswtlWZbvHTjeUrbs+gmruYXcv47G+lfryyLmzg7VhoNkBcaRNh2Gah0BXDdwR xUWmXjdvZbn0M5aO1PRpcvRl24/CkyqbbMWitk5RFcAQvL43Ii5ht0qeedNiKOhU tsBn98DFLMFKHiVS2EyFSDzERo/0H0zleyUmcsKMRyj/qcnYTPH1znJ6crrBG85Q == X-ME-Sender: X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 5B71EE4307; Mon, 8 Oct 2018 05:24:56 -0400 (EDT) Date: Mon, 8 Oct 2018 18:24:51 +0900 From: Michael Paquier To: magodo Cc: pgsql-general@postgresql.org Subject: Re: pg9.6: no backup history file (*.backup) created on hot standby Message-ID: <20181008092451.GE2754@paquier.xyz> References: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0hHDr/TIsw4o3iPK" Content-Disposition: inline In-Reply-To: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0hHDr/TIsw4o3iPK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 08, 2018 at 03:23:47PM +0800, magodo wrote: > Is this as expected? Yes. > If so, in which case should I do backup on primary and in which case > should I do it on standby? This depends on your use cases, sometimes you don't want to make the production server, the primary use more CPU than necessary so you can leverage the activity on a standby. -- Michael --0hHDr/TIsw4o3iPK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlu7ImMACgkQnvQgOdby QH28Mw//cIXVJFHJX0Hl7ZxUwds+XGZJSXPTEmulFw0+PoYwjAjM2vOY+vI6mCk2 TVmcPkI3atHCEeB0xQ4O7M0lX/iUfeOFgwvAfs491EsE+03NEDMfCZNhilM6+TaG 6oD+um2XC7At0/amkGeXe+OvYhWSy9xQjUQ/zEQ4yV11Nn4SyMk5iDl2WaCBS629 nZRQ7/XY739iJQANK7NUhl0yY1KCtKQ/7Jxnr+Zg9RP5eGO+AM/83Q7NPdBxqwXD dNKLdfhvu+NVBgHk5ib/uhhBVjWyy+LeAz/aDYA815wiLWoyE3vOAslxjj2BimQ1 qYtBa5pu2iOg8kDAa5qeliE6xjOml88ACG0US5fCPv0PxAWPNmVSH169QJS9gSEM /8iSqXe9FzNohUllzgVP62Z07874pfULuAwsA73ZBz8CDMLRXkc0flKtli7VLeII KObe2IR3aGsYL2nFvMprLpa8LvS5hgkcQ7ZbLgOxSSBDOSCYCgv8NFY3qWbm84zX u+UofLcKFsmqxPGBvUQNHwg0S5VYk/MVEmjUzPxctbxBfE/p/Xpgz0Ma17zedHdE nx0snM2C6E862XbAjml6+42z/H7+AHltKapcNRYbNr4ilbpK5v3yT2YY0AajB69R zcIK3qEaN3Cv7t16YVFr9YPmfwsElNKt5EwQgkGrgaNYA+I5hUk= =RJi7 -----END PGP SIGNATURE----- --0hHDr/TIsw4o3iPK--