Re: [ADMIN] unable to find data folder postgres9.4 - Mailing list pgsql-admin

From Scott Whitney
Subject Re: [ADMIN] unable to find data folder postgres9.4
Date
Msg-id bc2d4fda-8c2b-47fd-b916-02d8f0d6fdeb@email.android.com
Whole thread Raw
In response to [ADMIN] unable to find data folder postgres9.4  (srilinux <srilinux09@gmail.com>)
List pgsql-admin
Be careful on the copy to preserve permissions.

On Mar 22, 2017 1:41 PM, John Scalia <jayknowsunix@gmail.com> wrote:
Nothing really, although you'll break anyone logging in as postgres or su'ing to that. And being a mount point, you just can't 'mv' it. What are you trying to do? See if remounting the drive will fix things? If that's the case, I'd copy the contents not move them, then delete everything under /var/lib/pgsql, but I wouldn't do an 'rm -fr' just a normal 'rm'.

On Wed, Mar 22, 2017 at 2:28 PM, srilinux <srilinux09@gmail.com> wrote:
what will happen if I move /var/lib/pgsql to /var/lib/pgsqlBackup ?

will it cause any problems as this is mounted ?



--
View this message in context: http://www.postgresql-archive.org/unable-to-find-data-folder-postgres9-4-tp5951044p5951347.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.


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




Journyx, Inc.
7600 Burnet Road #300
Austin, TX 78757
www.journyx.com

p 512.834.8888 
f 512-834-8858 

Do you receive our promotional emails? You can subscribe or unsubscribe to those emails at http://go.journyx.com/emailPreference/e/4932/714/ 

pgsql-admin by date:

Previous
From: Scott Whitney
Date:
Subject: Re: [ADMIN] unable to find data folder postgres9.4
Next
From: Panneer Selvam
Date:
Subject: [ADMIN] - Need Clarification about filenodes under base database directory