pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: xuzhao.zhao <xuzhao.zhao@qunar.com>
Cc: hailong.li@qunar.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Is it possible to add support for PostgreSQL-15 and newer versions in omnipitr?
Date: Tue, 5 Dec 2023 15:48:43 +0100
Message-ID: <ZW84SzJV2slhlNeZ@depesz.com> (raw)
In-Reply-To: <04c32c47-d952-4da2-b274-b5a5ace2f007@qunar.com>
References: <04c32c47-d952-4da2-b274-b5a5ace2f007@qunar.com>

On Tue, Dec 05, 2023 at 01:10:18PM +0800, xuzhao.zhao wrote:
> Hi depesz,
> We currently use omnipitr-backup-slave to backup our database for PG14 and
> earlier versions. However, there have been changes to the backup process in
> PG15 that have rendered omnipitr-backup-slave unable to function.
> Changes are as follows:
> 
>  * Functions pg_start_backup()/pg_stop_backup() have been renamed to
>    pg_backup_start()/pg_backup_stop()
>  * Remove long-deprecated exclusive backup mode. The connection calling
>    pg_backup_start must be maintained until the end of the backup, or
>    the backup will be automatically aborted.
> 
> Is it possible for the omnipitr-backup-slave tool to execute
> pg_start_backup() and keep the session open until it can also execute
> pg_stop_backup() after the tarball is created?

Hi,
that would take some not-trivial changes, and the code isn't really
maintained. I don't think the company that I developed it for even
exists anymore.

These days I would recommend migrating to something different like
pgbackrest, for example.

Best regards,

depesz






view thread (3+ messages)  latest in thread

Message-ID: <ZW84SzJV2slhlNeZ@depesz.com>
Permalink:  ../ZW84SzJV2slhlNeZ@depesz.com/
Also on:    postgresql.org/message-id/ZW84SzJV2slhlNeZ@depesz.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: depesz@depesz.com, xuzhao.zhao@qunar.com, hailong.li@qunar.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Is it possible to add support for PostgreSQL-15 and newer versions in omnipitr?
  In-Reply-To: <ZW84SzJV2slhlNeZ@depesz.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox