BUG #16847: Problem with reinstalling Postgres. Data folder

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: luiz(dot)dsn(dot)shop(at)alterdata(dot)com(dot)br
Subject: BUG #16847: Problem with reinstalling Postgres. Data folder
Date: 2021-02-01 13:50:18
Message-ID: 16847-8b0c5802cc78ad69@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16847
Logged by: LUIZ SOUZA
Email address: luiz(dot)dsn(dot)shop(at)alterdata(dot)com(dot)br
PostgreSQL version: 9.6.20
Operating system: Windows
Description:

Good Morning!

I would like a help.
A few days ago I was infected by a virus where I clipped my machine. I was
able to repair the damage and recover the Data folder, however when trying
to reinstall postgresql version 9.6.20 x64 an error is occurring "An
existing data directory has been selected but is neither empty, or a
recognizable data directory.". My database currently has more than 15 GB of
data, I need to find a way to retrieve the information. I would like to know
if there is any tool that I can use, or some way to recover.
When I do the installation and put the correct data folder, the service is
started, but it does not show the database on pgadmin.
I thank the attention.

Browse pgsql-bugs by date

  From Date Subject
Next Message GMX LINREG 2021-02-01 15:23:47 Re: BUG #16843: pg_upgrade from 12.5 to 13.1 with extension plperlu failed
Previous Message Aditya Toshniwal 2021-02-01 05:19:37 Re: Unable to installed postgis extension using stack builder