pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Johnathan Tiamoh <johnathantiamoh@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Unable to start postgresql-14
Date: Sun, 24 Dec 2023 08:27:21 -0800
Message-ID: <2184af82-8dbd-4c78-9cc1-29f7a577e2f1@aklaver.com> (raw)
In-Reply-To: <CACoPQdZSRfyG58Wap5YJjmbZzhaGZB3Zwi0J-wk-OrzT7j88Xw@mail.gmail.com>
References: <CACoPQdbEoQrusU4RC1o2zEC8CEm4PVdhy6xbH2x_hQPwPOdO=Q@mail.gmail.com>
	<ed9823a0-a2e4-468a-b129-7128dea2bdec@aklaver.com>
	<CACoPQdZYfhO0P1nugVsR-sK-3Sdb4XgZUPCNH5Vac1m38Atwxg@mail.gmail.com>
	<a2590587-f848-4924-8fce-e5087609cb0c@aklaver.com>
	<CACoPQdZSRfyG58Wap5YJjmbZzhaGZB3Zwi0J-wk-OrzT7j88Xw@mail.gmail.com>

On 12/24/23 08:03, Johnathan Tiamoh wrote:
> Was this backup taken before the data directory was deleted?
> 
> Yes. I restored it from a 1-day old backup, but unfortunately, I 
> couldn't apply the logs.

If the backup was done using pg_dump as mentioned below why where you 
applying logs?

You need to provide more information about what the customized script 
does and what logs you are using?

> 
> If so how was the backup done?
> It was taken with a customized script that uses pg_dump.
> 
> Does this mean you recreated the data directory from some source and
> then ran pg_resetwal?
> 
> I recreated it from the backup
> 
> Do you mean you did a pg_dumpall from the Postgres instance running on
> the restored data directory?
> 
> Yes. And it failed
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (7+ messages)  latest in thread

Message-ID: <2184af82-8dbd-4c78-9cc1-29f7a577e2f1@aklaver.com>
Permalink:  ../2184af82-8dbd-4c78-9cc1-29f7a577e2f1@aklaver.com/
Also on:    postgresql.org/message-id/2184af82-8dbd-4c78-9cc1-29f7a577e2f1@aklaver.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, johnathantiamoh@gmail.com
  Subject: Re: Unable to start postgresql-14
  In-Reply-To: <2184af82-8dbd-4c78-9cc1-29f7a577e2f1@aklaver.com>
  References: <CACoPQdbEoQrusU4RC1o2zEC8CEm4PVdhy6xbH2x_hQPwPOdO=Q@mail.gmail.com> <ed9823a0-a2e4-468a-b129-7128dea2bdec@aklaver.com> <CACoPQdZYfhO0P1nugVsR-sK-3Sdb4XgZUPCNH5Vac1m38Atwxg@mail.gmail.com> <a2590587-f848-4924-8fce-e5087609cb0c@aklaver.com> <CACoPQdZSRfyG58Wap5YJjmbZzhaGZB3Zwi0J-wk-OrzT7j88Xw@mail.gmail.com> <2184af82-8dbd-4c78-9cc1-29f7a577e2f1@aklaver.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