Re: Can a broken Postgresql data directory be reconstructed without losing data?

2018-04-15 Thread Michael Paquier
On Sun, Apr 15, 2018 at 08:25:05AM +, A A wrote: > I'm trying to restore a database from a broken data directory that > have lost many of its files accidentally. Let me guess, a wild set of rm commands? > I have tried unsuccessfully to install new instance of the same > Postgresql version

Re: Can a broken Postgresql data directory be reconstructed without losing data?

2018-04-15 Thread Ricardo Martin Gomez
You must to restore a database from a backup. Regards. Obtener Outlook para Android<https://aka.ms/ghei36> From: A A <fellah.t...@yahoo.com> Sent: Sunday, April 15, 2018 5:25:05 AM To: pgsql-general@lists.postgresql.org Subject: Can a broken Pos

Can a broken Postgresql data directory be reconstructed without losing data?

2018-04-15 Thread A A
I'm trying to restore a database from a broken data directory that have lost many of its files accidentally. I have tried unsuccessfully to install new instance of the same Postgresql version and then copy (with overwrite) the broken datadir to the new one.here the remaining datadir that I'm