pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Postgresql Database cant start after restore using pgBackRest
Date: Tue, 27 Jun 2023 05:12:32 -0500
Message-ID: <56d23ec9-dc1f-e5a0-b2f9-59999abc5251@gmail.com> (raw)
In-Reply-To: <81a5d38d-db54-30ff-0b7c-054a950c5641@pgmasters.net>
References: <CALW=F4MZsscvQ-x+fGmxSY2q4xaGk1stKPsKuts-om-ewdeR5A@mail.gmail.com>
	<484cbe3c-eb15-5327-df72-3338c17c7855@pgmasters.net>
	<29c782b4-9ae3-364d-bca9-44f48c340aa3@gmail.com>
	<CALW=F4PgGSJX-ix0NgbD4XFCezt5ZNTDvTLvJUG0yR89z08tog@mail.gmail.com>
	<81a5d38d-db54-30ff-0b7c-054a950c5641@pgmasters.net>

On 6/27/23 03:26, David Steele wrote:
> On 6/27/23 07:41, Deo Felix wrote:
>> In the postgresql.auto.conf i have this configs
>> restore_command = 'pgbackrest --pg1-path=/var/lib/postgres/main 
>> --stanza=data archive-get %f "%p"'
>> recovery_target = 'immediate'
>> recovery_target_timeline = 'current'
>>
>> But still I the database cant start
>
> You will need to redo your pgbackrest restore with 
> --target-timeline=current and then restart postgres to start recovery with 
> the correct settings.

Is this standard procedure for an "in place" --delta restore?

-- 
Born in Arizona, moved to Babylonia.





view thread (14+ messages)  latest in thread

Message-ID: <56d23ec9-dc1f-e5a0-b2f9-59999abc5251@gmail.com>
Permalink:  ../56d23ec9-dc1f-e5a0-b2f9-59999abc5251@gmail.com/
Also on:    postgresql.org/message-id/56d23ec9-dc1f-e5a0-b2f9-59999abc5251@gmail.com

 · 

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: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Postgresql Database cant start after restore using pgBackRest
  In-Reply-To: <56d23ec9-dc1f-e5a0-b2f9-59999abc5251@gmail.com>

* 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