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 1g9RTJ-0005Eq-3V for pgsql-general@arkaria.postgresql.org; Mon, 08 Oct 2018 09:05:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g9RTG-000215-Qv for pgsql-general@arkaria.postgresql.org; Mon, 08 Oct 2018 09:04:58 +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 1g9PuI-00056a-BP for pgsql-general@lists.postgresql.org; Mon, 08 Oct 2018 07:24:46 +0000 Received: from mail114-241.sinamail.sina.com.cn ([218.30.114.241]) by magus.postgresql.org with smtp (Exim 4.89) (envelope-from ) id 1g9PuC-0007hu-3D for pgsql-general@postgresql.org; Mon, 08 Oct 2018 07:24:44 +0000 Received: from unknown (HELO t460p)([120.132.1.226]) by sina.com with ESMTP id 5BBB0607000007EF; Mon, 8 Oct 2018 15:23:52 +0800 (CST) X-Sender: wztdyl@sina.com X-Auth-ID: wztdyl@sina.com X-SMAIL-MID: 17934225952442 Message-ID: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com> Subject: pg9.6: no backup history file (*.backup) created on hot standby From: magodo To: pgsql-general@postgresql.org Date: Mon, 08 Oct 2018 15:23:47 +0800 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, I am using PostgreSQL-9.6, trying to do basebackup on a hot standby with archive mode set to always. However, I found there is no backup history file (*.backup) generated in the archive destination directory after `pg_basebackup`, which is not the case if I do the same thing on the primary. Is this as expected? If so, in which case should I do backup on primary and in which case should I do it on standby? Thank you in advance! Magodo