public inbox for [email protected]  
help / color / mirror / Atom feed
Pgbackrest changing RepoServer to new one
2+ messages / 2 participants
[nested] [flat]

* Pgbackrest changing RepoServer to new one
@ 2025-10-09 07:21  KK CHN <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: KK CHN @ 2025-10-09 07:21 UTC (permalink / raw)
  To: pgsql-general

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.

Thank you,
Krishane


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Pgbackrest changing RepoServer to new one
@ 2025-10-09 13:49  Ron Johnson <[email protected]>
  parent: KK CHN <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Ron Johnson @ 2025-10-09 13:49 UTC (permalink / raw)
  To: KK CHN <[email protected]>; +Cc: pgsql-general

On Thu, Oct 9, 2025 at 3:16 AM KK CHN <[email protected]> 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!


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-10-09 13:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-10-09 07:21 Pgbackrest changing RepoServer to new one KK CHN <[email protected]>
2025-10-09 13:49 ` Ron Johnson <[email protected]>

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