Re: Plan for exclusive backup method - Mailing list pgsql-general

From Magnus Hagander
Subject Re: Plan for exclusive backup method
Date
Msg-id CABUevEzOEH1How23KEbPoF85SjQaY1-JfqVbjVmfRX+Xhyo0Tw@mail.gmail.com
Whole thread Raw
In response to Plan for exclusive backup method  (MEERA <meeranair89@gmail.com>)
Responses Re: Plan for exclusive backup method
List pgsql-general
On Wed, May 19, 2021 at 11:58 AM MEERA <meeranair89@gmail.com> wrote:
>
> Hi team,
>
> https://www.postgresql.org/docs/12/continuous-archiving.html
>
> It is mentioned here that exclusive backup method is deprecated and should be avoided. it is now recommended that all
usersupgrade their scripts to use non-exclusive backups.
 
>
> Does this mean select pg_start_backup('label', false, true) is deprecated?

Yes.

> In a future version, will it not allow the third argument to be true?

The exact future has not been decided, but most likely yes. And as
most installations using it today are unsafe, it is recommended that
you don't use it even before then. It basically exists for backwards
compatibility with PostgreSQL prior to 9.6.

-- 
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



pgsql-general by date:

Previous
From: Derek van den Nieuwenhuijzen
Date:
Subject: PgAdmin4 - 'NoneType' object has no attribute 'value'
Next
From: Radoslav Nedyalkov
Date:
Subject: logical replication initial copy and WAL generation