pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Recover databases from raw files (only exists the base directory)
2+ messages / 2 participants
[nested] [flat]

* Recover databases from raw files (only exists the base directory)
@ 2019-10-24 16:55 Carlos Martinez <camarti@gmail.com>
  2019-10-24 19:09 ` Re: Recover databases from raw files (only exists the base directory) Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 1 reply; 2+ messages in thread

From: Carlos Martinez @ 2019-10-24 16:55 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

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.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Recover databases from raw files (only exists the base directory)
  2019-10-24 16:55 Recover databases from raw files (only exists the base directory) Carlos Martinez <camarti@gmail.com>
@ 2019-10-24 19:09 ` Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2019-10-24 19:09 UTC (permalink / raw)
  To: Carlos Martinez <camarti@gmail.com>; pgsql-general@lists.postgresql.org

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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-10-24 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 16:55 Recover databases from raw files (only exists the base directory) Carlos Martinez <camarti@gmail.com>
2019-10-24 19:09 ` Laurenz Albe <laurenz.albe@cybertec.at>

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