pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedCan we run pg_basebackup master is still working normally (selects, updates, deleted, etc)
3+ messages / 2 participants
[nested] [flat]
* Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc)
@ 2018-05-04 10:41 Adrian Heath <adrian.heath@tracktrans.com>
2018-05-04 11:07 ` Re: Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc) Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Heath @ 2018-05-04 10:41 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
We have master/standby servers running postgresql 9.6.5 on Debian 8.0
(Wheezy) 64 bit and we want to add a 3rd machine, streaming from the
master but running off-site.
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?
The documentation states that v9.6 supports running concurrent
backups. Can the users operate as normal, ie issue
inserts/deletes/updates, while the file copy is occurring? We can pick a
time when the system is quieter but there is always something/someone
updating the system.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc)
2018-05-04 10:41 Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc) Adrian Heath <adrian.heath@tracktrans.com>
@ 2018-05-04 11:07 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2018-05-04 11:45 ` Re: Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc) Adrian Heath <adrian.heath@tracktrans.com>
0 siblings, 1 reply; 3+ messages in thread
From: Peter Eisentraut @ 2018-05-04 11:07 UTC (permalink / raw)
To: Adrian Heath <adrian.heath@tracktrans.com>; pgsql-general@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc)
2018-05-04 10:41 Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc) Adrian Heath <adrian.heath@tracktrans.com>
2018-05-04 11:07 ` Re: Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc) Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
@ 2018-05-04 11:45 ` Adrian Heath <adrian.heath@tracktrans.com>
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Heath @ 2018-05-04 11:45 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
On 04/05/18 12:07, Peter Eisentraut wrote:
> 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.
>
Thank you.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-05-04 11:45 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-05-04 10:41 Can we run pg_basebackup master is still working normally (selects, updates, deleted, etc) Adrian Heath <adrian.heath@tracktrans.com>
2018-05-04 11:07 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2018-05-04 11:45 ` Adrian Heath <adrian.heath@tracktrans.com>
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