Re: Recover databases from raw files (only exists the base directory)

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Carlos Martinez <camarti(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Recover databases from raw files (only exists the base directory)
Date: 2019-10-24 19:09:30
Message-ID: 14cc3f597bb2b4fc8067fda28db352a08e8cc54f.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2019-10-24 19:15:42 Re: jsonb_set() strictness considered harmful to data
Previous Message Chris Morris 2019-10-24 17:04:47 Re: Lookup Primary Key of Foreign Server's Table