From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Adrian Heath <adrian.heath@tracktrans.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc)
Date: Fri, 4 May 2018 07:07:10 -0400
Message-ID: <6e9764f7-f6d1-0597-ecf7-c78d66d84007@2ndquadrant.com> (raw)
In-Reply-To: <06d59e01-72bc-12b5-5c1b-be1039175a83@tracktrans.com>
References: <06d59e01-72bc-12b5-5c1b-be1039175a83@tracktrans.com>
On 5/4/18 06:41, Adrian Heath wrote:
> The system is used 24/7. Can we run pg_basebackup while the master is
> still receiving updates without worrying about physical file corruptions
> in the generated archive file?
Yes, as long as you follow the instructions about saving the WAL
generated during the backup and replaying it on the newly created standby.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: peter.eisentraut@2ndquadrant.com, adrian.heath@tracktrans.com
Subject: Re: Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc)
In-Reply-To: <6e9764f7-f6d1-0597-ecf7-c78d66d84007@2ndquadrant.com>
References: <06d59e01-72bc-12b5-5c1b-be1039175a83@tracktrans.com> <6e9764f7-f6d1-0597-ecf7-c78d66d84007@2ndquadrant.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