pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carlos Martinez <camarti@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Recover databases from raw files (only exists the base directory)
Date: Thu, 24 Oct 2019 11:55:59 -0500
Message-ID: <CA+Mn-VanapsD8P4CW5CYyE7JSedy1fPyJ-_bKDbVwGC5u0gqVA@mail.gmail.com> (raw)

Hi.

I have  been contacted for this interesting issue: on a standalone
 postgresql 9.4 server someone deleted all PostgreSQL files and
directories  except the base directory and its content
(/var/lib/pgsql/9.4-base/data/base).

So, the question is: there is any chance/procedure to recover the databases?

As usual, the last backup has "a few" weeks. So, this dump can be used to
recover the recent data?

Thanks a lot for you help.

Carlos Martínez.

view thread (2+ messages)  latest in thread

Message-ID: <CA+Mn-VanapsD8P4CW5CYyE7JSedy1fPyJ-_bKDbVwGC5u0gqVA@mail.gmail.com>
Permalink:  ../CA+Mn-VanapsD8P4CW5CYyE7JSedy1fPyJ-_bKDbVwGC5u0gqVA@mail.gmail.com/
Also on:    postgresql.org/message-id/CA+Mn-VanapsD8P4CW5CYyE7JSedy1fPyJ-_bKDbVwGC5u0gqVA@mail.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 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: camarti@gmail.com
  Subject: Re: Recover databases from raw files (only exists the base directory)
  In-Reply-To: <CA+Mn-VanapsD8P4CW5CYyE7JSedy1fPyJ-_bKDbVwGC5u0gqVA@mail.gmail.com>
  References: <CA+Mn-VanapsD8P4CW5CYyE7JSedy1fPyJ-_bKDbVwGC5u0gqVA@mail.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