Re: Recover PostgreSQL database folder data

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Edson Lidorio <edson(at)openmailbox(dot)org>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Recover PostgreSQL database folder data
Date: 2017-04-21 23:38:38
Message-ID: CAKFQuwag=ThmuPAci20NbTGr-U59J0QJemZ7NDjgH8-uB1C8xQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday, April 21, 2017, Edson Lidorio <edson(at)openmailbox(dot)org> wrote:
>
> 4- I gave permission in the folder date:
> sudo chown postgres: postgres /var/lib/pgsql/9.6/data;
> sudo chmod 700 /var/lib/pgsql/9.6/data
>

You might want to check and see what permissions the original package
installed directory had and emulate those instead of blindly dropping a 700
on it.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2017-04-21 23:55:16 Re: Recover PostgreSQL database folder data
Previous Message Edson Lidorio 2017-04-21 23:20:38 Re: Recover PostgreSQL database folder data