Re: Plan for exclusive backup method

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: MEERA <meeranair89(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Plan for exclusive backup method
Date: 2021-05-19 10:00:46
Message-ID: CABUevEzOEH1How23KEbPoF85SjQaY1-JfqVbjVmfRX+Xhyo0Tw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, May 19, 2021 at 11:58 AM MEERA <meeranair89(at)gmail(dot)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 users upgrade 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Radoslav Nedyalkov 2021-05-19 11:16:07 logical replication initial copy and WAL generation
Previous Message Derek van den Nieuwenhuijzen 2021-05-19 09:42:27 PgAdmin4 - 'NoneType' object has no attribute 'value'