Re: Remove Deprecated Exclusive Backup Mode

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Christophe Pettus <xof(at)thebuild(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, David Steele <david(at)pgmasters(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove Deprecated Exclusive Backup Mode
Date: 2019-02-25 21:38:36
Message-ID: CABUevEw3EB+u3sDdr3PvFkpVUVtyRagkTq=GgkD=rpWS6iQi_A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Feb 25, 2019 at 10:14 PM Andres Freund <andres(at)anarazel(dot)de> wrote:

> On 2019-02-25 08:42:02 -0500, Stephen Frost wrote:
> > Greetings,
> >
> > * Andres Freund (andres(at)anarazel(dot)de) wrote:
> > > On 2019-02-24 17:19:22 -0500, Stephen Frost wrote:
> > > > You say above that the new interface is unquestionably an improvement
> > >
> > > FWIW, I think we didn't design it even remotely as well as we ought to
> > > have. It was both a mistake to not offer a version of non-exclusive
> > > backups that works with a client connection (for integration with the
> > > TSMs of this world), and it was a mistake not to offer a commandline
> > > tool that does the non-exclusive pg/start backup.
> >
> > I'm not really following- did you mean to say "without a client
> > connection" above?
>
> Yes.
>
>
> > We could still add some kind of commandline tool to help with the
> > non-exclusive pg start/stop backup
>
> That doesn't help, as long as the connection requirement is there. As
> explained elsewhere in this thread, a lot of larger external backup
> infrastructure just gives you a start/stop hook, and that makes using a
> persistent connection hard and fragile.
>

In my experience they don't just give you that. They also give you a module
that calls the postgres APIs to do backups.

Some of them are using the old API, some are using the new one. The only
thing that would be required there would be to upgrade the module to one
that supports the 9.6 APIs. (And you have to upgrade those modules whenever
you upgrade oracle or mssql or whatever else you have, so that's not
something those organisations are unused to)

I agree with the need for as simpler way to drive it in the simple case or
in the say filesystem snapshot case, but I'm not sure the pre/post case is
all that common in this context? Some certainly use it today even if they
don't have to, but that can probably be easily changed to such a
"simplified cmd tool" that you have suggested elsewhere as well.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2019-02-25 21:40:34 Re: Remove Deprecated Exclusive Backup Mode
Previous Message David Steele 2019-02-25 21:38:32 Re: Remove Deprecated Exclusive Backup Mode