Re: pg_basebackup in tar format with -Xs

From: Euler Taveira <euler(dot)taveira(at)2ndquadrant(dot)com>
To: vallarapurajesh(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_basebackup in tar format with -Xs
Date: 2020-06-07 02:00:15
Message-ID: CAH503wDnpAM0e2OgvO4X0hZOsSoB_aG3EQibEzY_JsQM_DTGww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Fri, 5 Jun 2020 at 05:54, PG Doc comments form <noreply(at)postgresql(dot)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]

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

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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Jürgen Purtz 2020-06-09 11:25:04 Re: Add A Glossary
Previous Message PG Doc comments form 2020-06-05 14:31:34 create database with template doesn't copy ACL