pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL Restore Database Without Backup and Log
3+ messages / 3 participants
[nested] [flat]

* PostgreSQL Restore Database Without Backup and Log
@ 2018-01-26 13:58  fabio.silva <fabio.ferreiras@yahoo.com.br>
  0 siblings, 1 reply; 3+ messages in thread

From: fabio.silva @ 2018-01-26 13:58 UTC (permalink / raw)
  To: pgsql-general

Hi!
I had a Ransomware atack and I lost a  lot of file from my server.
I just have the OID folder and the files inside it.
Is it possible restore database using only this data files?
I don't have the folder data, I don't have the folder global, I just have
Datafiles from my old database.
I'm using PostgreSQL 9.4 and Windows Server 2012R2
Thanks!



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html




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

* Re: PostgreSQL Restore Database Without Backup and Log
@ 2018-01-28 19:30  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: fabio.silva <fabio.ferreiras@yahoo.com.br>
  0 siblings, 1 reply; 3+ messages in thread

From: Adrian Klaver @ 2018-01-28 19:30 UTC (permalink / raw)
  To: fabio.silva <fabio.ferreiras@yahoo.com.br>; pgsql-general

On 01/26/2018 05:58 AM, fabio.silva wrote:
> Hi!
> I had a Ransomware atack and I lost a  lot of file from my server.
> I just have the OID folder and the files inside it.
> Is it possible restore database using only this data files?

I am going to say no, too much information is missing to reconstruct the 
cluster.

> I don't have the folder data, I don't have the folder global, I just have
> Datafiles from my old database.
> I'm using PostgreSQL 9.4 and Windows Server 2012R2
> Thanks!
> 
> 
> 
> --
> Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




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

* Re: PostgreSQL Restore Database Without Backup and Log
@ 2018-01-28 19:41  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2018-01-28 19:41 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: fabio.silva <fabio.ferreiras@yahoo.com.br>; pgsql-general

Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 01/26/2018 05:58 AM, fabio.silva wrote:
>> I had a Ransomware atack and I lost a  lot of file from my server.
>> I just have the OID folder and the files inside it.
>> Is it possible restore database using only this data files?

> I am going to say no, too much information is missing to reconstruct the 
> cluster.

There are various PG support companies that specialize in data recovery
after filesystem failures, and it's possible that one of them could help
in getting at least some data back from this situation.  It likely won't
be cheap though.  There's definitely no easy, certain-to-work answer.

			regards, tom lane




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


end of thread, other threads:[~2018-01-28 19:41 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-26 13:58 PostgreSQL Restore Database Without Backup and Log fabio.silva <fabio.ferreiras@yahoo.com.br>
2018-01-28 19:30 ` Adrian Klaver <adrian.klaver@aklaver.com>
2018-01-28 19:41   ` Tom Lane <tgl@sss.pgh.pa.us>

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