pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: magodo <wztdyl@sina.com>
To: pgsql-general@postgresql.org
Subject: pg9.6: no backup history file (*.backup) created on hot standby
Date: Mon, 08 Oct 2018 15:23:47 +0800
Message-ID: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com> (raw)


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






view thread (8+ messages)  latest in thread

Message-ID: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com>
Permalink:  ../6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com/
Also on:    postgresql.org/message-id/6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: wztdyl@sina.com
  Subject: Re: pg9.6: no backup history file (*.backup) created on hot standby
  In-Reply-To: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com>
  References: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox