Hi Michael,

Thank you again. It seems hard to recover, I will go the hard way (lost data). 
Learned a lesson.

Regards,
Haiming

-----Original Message-----
From: Michael Paquier [mailto:michael.paqu...@gmail.com]
Sent: Tuesday, 7 April 2015 1:04 PM
To: Haiming Zhang
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Postgres fails to start

On Tue, Apr 7, 2015 at 10:46 AM, Haiming Zhang <haiming.zh...@redflex.com.au> 
wrote:
> Thank you for replying. The file was there, is that ok to remove the 
> corrupted file to recover postgres? "base/2008723533/2107262657.2"

Be careful here, I would recommend taking a file-level snapshot before going on 
and do perhaps-stupid things. As that's a btree right split, perhaps you could 
recover your data by ignoring this index...

> Unfortunately, I only have a backup on February. Is there a way I can recover 
> it without losing the recent data?

What is lost is lost. A good backup strategy is essential.
--
Michael

________________________________

If you are not an authorised recipient of this e-mail, please contact me at 
Redflex immediately by return phone call or by email. In this case, you should 
not read, print, retransmit, store or act in reliance on this e-mail or any 
attachments, and should destroy all copies of them. This e-mail and any 
attachments are confidential and may contain privileged information and/or 
copyright material of Redflex or third parties. You should only retransmit, 
distribute or commercialise the material if you are authorised to do so. This 
notice should not be removed.



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to