From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Carlos Martinez <camarti@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Recover databases from raw files (only exists the base directory)
Date: Thu, 24 Oct 2019 21:09:30 +0200
Message-ID: <14cc3f597bb2b4fc8067fda28db352a08e8cc54f.camel@cybertec.at> (raw)
In-Reply-To: <CA+Mn-VanapsD8P4CW5CYyE7JSedy1fPyJ-_bKDbVwGC5u0gqVA@mail.gmail.com>
References: <CA+Mn-VanapsD8P4CW5CYyE7JSedy1fPyJ-_bKDbVwGC5u0gqVA@mail.gmail.com>
Carlos Martinez wrote:
> 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?
I'd cut the losses and take the backup.
You'd need a specialist to recover anything there.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
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: laurenz.albe@cybertec.at, camarti@gmail.com
Subject: Re: Recover databases from raw files (only exists the base directory)
In-Reply-To: <14cc3f597bb2b4fc8067fda28db352a08e8cc54f.camel@cybertec.at>
References: <CA+Mn-VanapsD8P4CW5CYyE7JSedy1fPyJ-_bKDbVwGC5u0gqVA@mail.gmail.com> <14cc3f597bb2b4fc8067fda28db352a08e8cc54f.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