pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Ebubekir Büyüktosun <ebubekir.buyuktosun@primeit.com.tr>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Cc: pg <pg@primeit.com.tr>
Subject: Re: Recovering standby from primary archived WAL segments
Date: Sat, 04 Nov 2023 14:42:56 +0100
Message-ID: <117cf700fc5db3085f9e294e76f545e3d9ee72f0.camel@cybertec.at> (raw)
In-Reply-To: <27541699100382@mail.yandex.com.tr>
References: <27541699100382@mail.yandex.com.tr>

On Sat, 2023-11-04 at 15:46 +0300, Ebubekir Büyüktosun wrote:
> I want to ask how we should configure primary and/or standby servers in case of need
> to recover the standby server from primary archived WAL segments.
>  
> If it is possible, how primary and/or standby servers must be configured?

Set "restore_command" on the standby.

Yours,
Laurenz Albe





view thread (6+ messages)  latest in thread

Message-ID: <117cf700fc5db3085f9e294e76f545e3d9ee72f0.camel@cybertec.at>
Permalink:  ../117cf700fc5db3085f9e294e76f545e3d9ee72f0.camel@cybertec.at/
Also on:    postgresql.org/message-id/117cf700fc5db3085f9e294e76f545e3d9ee72f0.camel@cybertec.at

 · 

reply

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-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, ebubekir.buyuktosun@primeit.com.tr, pgsql-admin@lists.postgresql.org, pg@primeit.com.tr
  Subject: Re: Recovering standby from primary archived WAL segments
  In-Reply-To: <117cf700fc5db3085f9e294e76f545e3d9ee72f0.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