Re: On Replica - History issue

From: SOzcn <selahattinozcnma(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: On Replica - History issue
Date: 2023-10-30 10:48:20
Message-ID: CAJyV5AaJh1Jvsz4yGhTu9gAVZD09awr_SZqxvVqzbpV5L_mKWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

"restore_command" is default .
my archive command is ;
archive_command = 'pgbackrest --stanza=cluster_stanza archive-push %p'

with this way I setup my backup procedure without problem, is there might
be another problem I cannot see?

Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, 27 Eki 2023 Cum, 15:30 tarihinde
şunu yazdı:

> On Fri, 2023-10-27 at 13:36 +0300, SOzcn wrote:
> > Hello I need some advice about the issue in the bellow. Because of
> datacenter I has
> > to create my replica's from zero. On a cluster I get a error, it's look
> like about
> > pgbackrest issue, but also this one has no backup for now. Before it
> has. Is there
> > anything I should do Manuel?
> >
> > Oct 27 13:33:26 se-prd-db02 postgresql(at)13-clustername[316944]: sh: 1:
> pgbackrest: not found
> > Oct 27 13:33:26 se-prd-db02 postgresql(at)13-clustername[316944]:
> 2023-10-27 13:33:26.808 +03 [316957] FATAL: could not restore file
> "00000003.history" from archive: command not found
>
> I don't think Manuel is at fault.
>
> You should use the absolute path to "pgbackrest" in the "restore_command".
>
> Yours,
> Laurenz Albe
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message SOzcn 2023-10-30 11:00:51 Re: On Replica - History issue
Previous Message Tom Lane 2023-10-30 04:11:06 Re: Not able to grant role to User.