On Wed, Jan 15, 2025 at 2:25 PM Rajesh Kumar <rajeshkumar.dba09@xxxxxxxxx> wrote:
Hi all,I have a postgres database 15.3 that ran on kubernetes and the pod had crashbackloop error.And devops looks like created another datapath and now pod is running.Now when connect to terminal of that pod I could see two folders 1. Postgresql-24 (old data path that has data and looks like not running ) 2. Postgresql-25 (new data path which seems to be running currently)Now I want to have data in postgresql-25. How do I get it from postgresql-24? Kindly help me .
Postgresql only cares about the $PGDATA environment variable and the datadir pointed to by "--pgdata=datadir". That's the answer to your question.
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!