public inbox for [email protected]  
help / color / mirror / Atom feed
Move pgBackrest repo?
2+ messages / 2 participants
[nested] [flat]

* Move pgBackrest repo?
@ 2026-01-14 15:24 Colin 't Hart <[email protected]>
  2026-01-14 16:29 ` Re: Move pgBackrest repo? Greg Sabino Mullane <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Colin 't Hart @ 2026-01-14 15:24 UTC (permalink / raw)
  To: PostgreSQL General <[email protected]>

Hi all,

What is the best way to move a pgBackrest repo?

It was configured as /var/lib/pgbackrest, but we want to move it to
/data/pbackrest to get it off the root partition.

It is being written to continually by archivers from several servers. Since
access is over ssh, there's no server component that we can just stop for
the duration.

Thanks,

Colin


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

* Re: Move pgBackrest repo?
  2026-01-14 15:24 Move pgBackrest repo? Colin 't Hart <[email protected]>
@ 2026-01-14 16:29 ` Greg Sabino Mullane <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Greg Sabino Mullane @ 2026-01-14 16:29 UTC (permalink / raw)
  To: Colin 't Hart <[email protected]>; +Cc: PostgreSQL General <[email protected]>

On Wed, Jan 14, 2026 at 10:24 AM Colin 't Hart <[email protected]> wrote:

>
> What is the best way to move a pgBackrest repo?
>

* rsync to get things mostly copied
* use 'pgbackrest stop' to prevent it from running
* verify no pgbackrest processes still going
* update the conf file to point to the new dir
* final rsync
* rename the old repo dir so nothing writes to it by accident
* use 'pgbackrest start'

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support


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


end of thread, other threads:[~2026-01-14 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-01-14 15:24 Move pgBackrest repo? Colin 't Hart <[email protected]>
2026-01-14 16:29 ` Greg Sabino Mullane <[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