Thread: pg_basebackup in tar format with -Xs

pg_basebackup in tar format with -Xs

From
PG Doc comments form
Date:
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.

Re: pg_basebackup in tar format with -Xs

From
Euler Taveira
Date:
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]



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