From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Abdullah Ergin <abdullaherginwork@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18179: Cluster History Error
Date: Tue, 14 Nov 2023 05:18:59 +0100
Message-ID: <a6f54b6cef679e17ede0de337c3d7ddaa4432567.camel@cybertec.at> (raw)
In-Reply-To: <CAJZxWEPKKheHD8Kb13CCF7ktpcfnWKMaP41jx4onafft6kehaQ@mail.gmail.com>
References: <18179-c25cb10fdc41bbf5@postgresql.org>
<ZUhxh2UfISvGO-Oq@paquier.xyz>
<CAJZxWEPQ6FixVPsChpxzKt5Lr+nzqzL-vOrZXdGCX+LptvPZwg@mail.gmail.com>
<6df759efadaf406cf72ee4440204b25aa4ca407f.camel@cybertec.at>
<CAJZxWEOoMC00ZEG8zoJhY1dRgdviOhC+fSh2tTFQctcCbM4VfQ@mail.gmail.com>
<d4c24272e26929c41037e67d9d39d226082f7f5b.camel@cybertec.at>
<CAJZxWEPKKheHD8Kb13CCF7ktpcfnWKMaP41jx4onafft6kehaQ@mail.gmail.com>
On Tue, 2023-11-14 at 00:04 +0300, Abdullah Ergin wrote:
> Laurenz Albe <laurenz.albe@cybertec.at>, 13 Kas 2023 Pzt, 23:13 tarihinde şunu yazdı:
> > On Mon, 2023-11-13 at 22:42 +0300, Abdullah Ergin wrote:
> > > I'm relatively new to database expertise, are you referring to the absolute path as follows:
> > >
> > > postgresql.auto.conf;
> > > #Recovery settings generated by pgBackRest restore on 2021-09-29 01:04:40
> > > restore_command = '/usr/bin/pgbackrest --stanza=mydb_stanza archive-get %f "%p"'
> >
> > Yes, precisely. But if te executable is in /usr/bin, it should be found
> > anyway... Is there really a /usr/bin/pgbackrest on the standby server?
>
> pgBackRest is only installed on my master and backup servers. The directory where
> it is installed is '/usr/bin/pgbackrest.'
>
> However, pgBackRest is not installed on my replica server.
Then you shouldn't use it in your "restore_command". Best comment that out.
This is no PostgreSQL bug.
Yours,
Laurenz Albe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: laurenz.albe@cybertec.at, abdullaherginwork@gmail.com, michael@paquier.xyz, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18179: Cluster History Error
In-Reply-To: <a6f54b6cef679e17ede0de337c3d7ddaa4432567.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox