pg_basebackup in tar format with -Xs

Started by PG Bug reporting formalmost 6 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/app-pgbasebackup.html
Description:

Only since Postgres 10, one can take backup of wals along with full backup
(in tar format) using pg_basebackup

ERROR:
pg_basebackup: WAL streaming can only be used in plain mode
Try "pg_basebackup --help" for more information

You dont see that error since Postgres 10 instead you see a separate tar
file for wals.

#2Euler Taveira
euler.taveira@2ndquadrant.com
In reply to: PG Bug reporting form (#1)
Re: pg_basebackup in tar format with -Xs

On Fri, 5 Jun 2020 at 05:54, PG Doc comments form <noreply@postgresql.org>
wrote:

Only since Postgres 10, one can take backup of wals along with full backup
(in tar format) using pg_basebackup

ERROR:
pg_basebackup: WAL streaming can only be used in plain mode
Try "pg_basebackup --help" for more information

You dont see that error since Postgres 10 instead you see a separate tar
file for wals.

... because this is a new feature that was introduced in version 10.

"Allow pg_basebackup to stream write-ahead log in tar mode" [1]https://www.postgresql.org/docs/10/release-10.html

[1]: https://www.postgresql.org/docs/10/release-10.html

--
Euler Taveira http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services