Re: Move pgBackrest repo?

Ron Johnson <ronljohnsonjr@gmail.com>

From: Ron Johnson <ronljohnsonjr@gmail.com>
To: PostgreSQL General <pgsql-general@lists.postgresql.org>
Date: 2026-01-14T15:48:04Z
Lists: pgsql-general
On Wed, Jan 14, 2026 at 10:24 AM Colin 't Hart <colinthart@gmail.com> wrote:

> 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.
>

The first thing I'd do is start rsyncing from /var/lib/pgbackrest to
/data/pbackrest.

I don't, though, know enough about remote PgBackRest configuration to know
whether PG on the db servers needs to be stopped for the moment when you
reconfigure pgbr on the repo server.

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