Re: Pgbackrest changing RepoServer to new one

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: KK CHN <kkchn(dot)in(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Pgbackrest changing RepoServer to new one
Date: 2025-10-09 13:49:34
Message-ID: CANzqJaDwHOg23KsTA3Njr3aWRrOEs5RstjuYqV_vG0nWkTk+8Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Oct 9, 2025 at 3:16 AM KK CHN <kkchn(dot)in(at)gmail(dot)com> wrote:

> List,
>
> I am in need of changing Repo Server of an existing working pgbackrest
> setup(RHEL 9.3 , pgbackrest 2.52.1 database version 16)
>
> *I have googled, got the information that I need to do *
>
> 1. First shutdown the Postgre Server cluster/instance. ( This is a
> production server, downtime permissions required if need to do so)
>
> 2 stop the stanza and delete the stanza
>
> 3. Then recreate the stanza with the same name from the new Repo Server.
>
> In need to change the RepoServer due to the storage limitations on the
> RepoServer forced to move to a large Repo Server.
>
> Can I bypass the step1 ( shutdown the postgreserver ?) and do step 2 and
> step 3, will this action stalemate the entire DB server and backup setup.
>
> Request your valuable guidance and advice.
>

repo entries in pgbackrest.conf are numbered. "Just" add repo2-xxxx
entries to your existing pgbackrest.conf, and then add "--repo=2" to your
existing pgbackrest commands.

(That *should* work. I've never had to try it.)

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2025-10-09 14:49:03 Re: Are compression requirements needed when building only libraries?
Previous Message Uilian Ries 2025-10-09 11:10:05 Are compression requirements needed when building only libraries?