Thread: About postgresql-db Directory

About postgresql-db Directory

From
Junsong Yang
Date:
Hi,

A directory called postgresql-db appeared after the postgres instance was deleted. I noticed that the mounting point(/var/lib/pgdata)disappeared. But another directory called postgresql-db appeared at /var/lib/postgresql-db which preserved all the data in the previous deployment like this /var/lib/postgresql-db/pgdata.

Does anyone know what's going on here?
BTW, I'm using postgres 13.6.
Thank you very much.

Kind regards, 
Junsong 

Re: About postgresql-db Directory

From
Ron
Date:
On 4/28/22 04:39, Junsong Yang wrote:
Hi,

A directory called postgresql-db appeared after the postgres instance was deleted. I noticed that the mounting point(/var/lib/pgdata)disappeared. But another directory called postgresql-db appeared at /var/lib/postgresql-db which preserved all the data in the previous deployment like this /var/lib/postgresql-db/pgdata.

Does anyone know what's going on here?
BTW, I'm using postgres 13.6.
Thank you very much.

How did you delete the instance?

--
Angular momentum makes the world go 'round.