Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1waYeP-001t9U-0U for pgsql-general@arkaria.postgresql.org; Fri, 19 Jun 2026 12:48:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1waYeN-00GAsQ-2O for pgsql-general@arkaria.postgresql.org; Fri, 19 Jun 2026 12:48:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1waYeN-00GAsF-1D for pgsql-general@lists.postgresql.org; Fri, 19 Jun 2026 12:48:47 +0000 Received: from mail-oo1-xc31.google.com ([2607:f8b0:4864:20::c31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1waYeL-00000001GiY-1bCh for pgsql-general@lists.postgresql.org; Fri, 19 Jun 2026 12:48:47 +0000 Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-69e59978deeso960721eaf.0 for ; Fri, 19 Jun 2026 05:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781873323; cv=none; d=google.com; s=arc-20240605; b=Fo2c8vdZzLUI6LBtrPrDn58k/fBrfIDY+kT1N+yf6wCXl2pQpD1jFx+6REQXuCVpSD 8duQY+DQ36kEmmwbmibtld2AQbdwVzbnyZ8iI1lWGtNtaEVob1shd3UCklLQDEOgiy7C YNxdnN6PNY0D6G+m1dQdXzRb28mheySOq4h6jXn/dYHnaebn9wRAdiZwtEZdsjQwT8qQ rYkHbsbTf7PlNtRO0/JNz/Ku3cJjHXLoxgl5qBuYbFWLnLazcjSeBpNw+vyVWHbqZV3X xIwd0m1xgj2/mVPvVtPL/FAqUDlfeU61LZRvTZpVR25O98E7BEjCPcumq+hgdERQ3W8T jxbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Wkqd1s/zfCIjENRwhbzUJiwfrrlvffng0ZYKezLB7Bw=; fh=2DoGC78b0mi8uZ4UY+9ocPF86GSVzeaJWqou/x907js=; b=Zwf3T5ggWCod44oQqd1S7e/cuF/epsLHeo1obRRtkWNvxvj+anmZimq8j5pYe3phWn 0yS4kaObc/0nmnEJ20aECJ8HVblgWE7qjcEavObCd13hp3YfBcF4tZxkQiDbQYum+B6t l7aNBsNnMHkUipyfZHVIpl3e+GXJdpy9gC8tPdnj/6dPbjrpP9Kk9P/IFMQaBWnN1nEU GdgJ0pl0AhAjuXLYYYErDet0sKcwCwZLRIFa3/D5Gt1u/C/eOVo0wOytdl9gThsewG3x vD4WiKLEi472wclQwXrw7M0qwrWNYYfRnPFsmPbA+2ey7ICc7aztOhBa2Z84eMK3+wni H9mw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781873323; x=1782478123; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Wkqd1s/zfCIjENRwhbzUJiwfrrlvffng0ZYKezLB7Bw=; b=Z15OVIAsbSc6+h1qGwEgOE2LEZBRCWs5KkMTNb2tX71R6ljrU87u+4k67gkn0s7LJm OORMCAS2KRszdt4erzjFYFH/uUAng67xDjiL5ICXcJSfPuuR9j8MYJat1Krbm6WyAcEg jVsWMcCLZsGDJSTzEodV/AhL7YxpXJEvAVYruQnl3NEcuxbG/8glpuHmMkEV1bRxAfv6 fqmINw5jxrfPzwAtE4FF7Z1nppsJpAAcrmIe9/PYmmzW8uU9baSH8tT2r2wXfHpuwEQ5 BnA80+suEq0NkIZjBFQSt47xKFHK4Jp0Ch9jKrxKiSMtsQbwWW5DQd1t4UcjVYHEFPAC oh7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781873323; x=1782478123; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Wkqd1s/zfCIjENRwhbzUJiwfrrlvffng0ZYKezLB7Bw=; b=ohHOwzWDoB+s9WceuRth7J2iChC03YawtBUN8XNd5icsEh3Hlb4Q8CiWaz+sPbkKXf d6l25IefVO9TwRs2PcYmhbAOc7OXfnuPC8lt8l/wtjkDEX6L3IHQiN+eiLkO6wEhjICn 0yr2FzBB7AUhl9uQLzJLRSxMQ6E7jkgtIgPh8Sb8T1LR/SOoj9liRxM0P7mMmcENl+mB Geh0Z8UE3zwe3GhZb1fvxi54oVcC3EJP9+VGd90m3epnMg4NHRSljSr+hGyECehXFIU/ yjVpS7c5ZgUuuZJzBNiKcoL3dR8AauPLhNIOYoMe2WPJuoNuQeOv+6rcyqUgizt6NSXR DC3w== X-Gm-Message-State: AOJu0YwuQgg/QVRm/fhNs3ZABHQZ81WQuTnAL11Y9E4UrkLyrVFV/6MG GV9HnDF2wxd16qucLUmPmS/5CBsVzsQQGE65dqRjzeAXjfuOsnA1Gkz5QDnvHLMaJYzSMWqcI7f RMreSmF6PsLVtUyRmyc5efJ6FX/liEVPSEw== X-Gm-Gg: AfdE7cmPKd51fz/a/eONElkuc48RqWNd05WUIKbU9YHsrXZI0D5rQH0N8lsbJTnCZZG IIjByvmshRnM5XEV+OKZHallhwfyaoeuhf0nFWdy3XSespzfEvQ7I4q/ooTai8au8weSRHbZ5s3 0glrTuUePbKA91ihi55Q2NeRbiShUJghb1V4Ya0+0+332zBB30sKyojAxoxmKr/fuEGcxETRKSa oD8dHQNs8kx6i5QiIe4vXIl3mtwoa5hqqOhKdS2dtwRxVO4KNGI0nLBb5fIUP1Khr7xESfdiA== X-Received: by 2002:a05:6820:4c8b:b0:69e:4d9d:5a5 with SMTP id 006d021491bc7-6a0d887cea2mr2741346eaf.16.1781873323227; Fri, 19 Jun 2026 05:48:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Fri, 19 Jun 2026 08:48:31 -0400 X-Gm-Features: AVVi8CehqYxBvuHclAFIC1pKBJ2AXVx27kScnTXx3ZUEvt0pbuEDuC95ywfTAso Message-ID: Subject: Re: Can use NFS mount partition for Pgbackrest Repo -path ? To: "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="00000000000077403f06549ab699" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000077403f06549ab699 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jun 19, 2026 at 7:58=E2=80=AFAM KK CHN wrote: > Hi folks, > > I am using the repo1-path as follows for the pgbackrest backup of more > than 6 DB clusters in a single remote repo server as follows. > > ON MY REPO SERVER > > [global] > repo1-path=3D/data/DB_BACKUPS > repo1-block=3Dy > repo1-bundle=3Dy > repo1-retention-full=3D3 > repo1-retention-diff=3D3 > repo1-cipher-type=3Daes-256-cbc > repo1-cipher-pass=3Dacbd > > The issue here is The repo1-path =3D /data/DB_BACKUPS directory is the > local file storage of this repo server (A Virtual Machine running RHEL 9.= 4, > pgbackrest 2.25.1 > Those are pretty old. Lots of security bugs have been patched since 9.4 was released. And really useful features added to pgbackrest after 2.25.1. > 1. *Can I use this NFS mount point /datanew as the repo1-path for > pgbackrest to overcome the storage space shortage ? * > Yes. > 2. *What are the drawbacks in doing this approach ? * > You might occasionally have to stop pgbackrest and then restart the nfs client daemon. > 3. *What command line tool to use either mv or tar command which > is advisable and fast for copying all the existing /data/DB_BACKUPS > archive and backup folders of the currently running backups of the six > different production Database clusters to the new NFS mount point > /datanew by minimal downtime (If the NFS mount point for repo1-path is > possible/advisable ?) * > rsync. That's always the solution. Run it once (or twice or thrice) to move most of the data, then stop PG and run it again to move the final bits of data and update pgbackrest.conf/ > 4. *Also setting permissions for the repo server user ( in my case it > is pgbackrest itself) for the NFS mount point is straight forward or do = I > need to set permissions differently in the NFS server side and client VM > side also ?* ( sorry for ignorance). > You'll see soon enough, if the rsync fails with a "permission denied" error= . --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --00000000000077403f06549ab699 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jun 19, 2026 at 7:58=E2=80=AFAM KK CHN <kkchn.in@gmail.com> wrote:
Hi folks,

I am= using the repo1-path as follows=C2=A0 =C2=A0for the pgbackrest=C2=A0 backu= p of more than 6 DB clusters in a single remote repo server as follows.

ON MY REPO SERVER

[global]repo1-path=3D/data/DB_BACKUPS
repo1-block=3Dy
repo1-bundle=3Dy
r= epo1-retention-full=3D3
repo1-retention-diff=3D3
repo1-cipher-type=3D= aes-256-cbc
repo1-cipher-pass=3Dacbd

The is= sue here is The repo1-path =3D=C2=A0 /data/DB_BACKUPS directory is the loca= l file storage of this repo server (A Virtual Machine running RHEL 9.4, pgb= ackrest 2.25.1

Those are pretty= old.=C2=A0 Lots of security bugs have been patched since 9.4 was released.= =C2=A0 And really useful features added to pgbackrest after 2.25.1.
=C2=A0
=C2=A01.=C2=A0Can I use this NFS mount point=C2=A0 /datanew=C2=A0 as the repo1-path for= =C2=A0 pgbackrest=C2=A0 to overcome the storage space shortage ?=C2=A0 =C2= =A0

Yes.
= =C2=A0
=C2=A02. What are the drawbacks=C2=A0 in doing this approach ?=C2=A0= =C2=A0

You might occasional= ly have to stop pgbackrest and then restart the nfs client daemon.
=C2=A0
=C2=A03. What command line tool=C2=A0 to use= =C2=A0 either=C2=A0 =C2=A0mv=C2=A0 or tar=C2=A0 command which is advisable = and fast for copying all the existing /data/DB_BACKUPS=C2=A0 =C2=A0 archive= and backup folders of the currently running backups of the six different p= roduction=C2=A0 Database clusters=C2=A0 to the new NFS mount point=C2=A0 /d= atanew=C2=A0 by minimal downtime (If=C2=A0 the NFS mount point for repo1-pa= th is=C2=A0 possible/advisable ?)=C2=A0
rsync.=C2=A0 That's always the solution.

Run it once (or twice or thrice) to move most of the data, then sto= p PG and run it again to move the final bits of data and update pgbackrest.= conf/
=C2=A0
4.=C2= =A0 Also=C2=A0 setting per= missions=C2=A0 for the repo server user ( in my case it is pgbackrest itsel= f)=C2=A0 for the NFS mount point is straight forward or do I need to set pe= rmissions differently=C2=A0 in the NFS server side and client VM side also = ? ( sorry for ignorance).= =C2=A0

You'll see so= on enough, if the rsync fails=C2=A0with a "permission denied" err= or.
=C2=A0
-- <= /span>
Death= to <Redacted>, and butter sauce.
Don't boil me, I'm stil= l alive.
<Redacted> lobster!
--00000000000077403f06549ab699--