Re: Recover PostgreSQL database folder data

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Edson Lidorio <edson(at)openmailbox(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Recover PostgreSQL database folder data
Date: 2017-04-21 20:34:27
Message-ID: 6b4ee4d8-21fe-d54e-82fe-97f23caaf315@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/21/2017 01:14 PM, Edson Lidorio wrote:
>
>
> On 21-04-2017 16:00, Adrian Klaver wrote:
>> Is that really the case?
> Yes, I have already given permission on this folder and it does not
> initialize.

You do not want to initialize the directory that was taken care of when
you did:

3- I renamed the /var/lib/pgsql/9.6/data folder to date data_old and
copied the old date folder

The files are there, the start script is just not able to read them
because of permissions issues. You need to verify the permissions on the
files in data/-

> I'll try to make another copy in another vm.

Pretty sure you will end up at the same place.
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Edson Lidorio 2017-04-21 20:36:18 Re: Recover PostgreSQL database folder data
Previous Message Scott Mead 2017-04-21 20:27:48 Re: Recover PostgreSQL database folder data