Re: Move datapath - Mailing list pgsql-admin

From Mohit Mishra
Subject Re: Move datapath
Date
Msg-id CAGB=j7oSVSQZ+i2n5xMTbei3BiyytGdx+-6-Z269j-RX7ry5Pw@mail.gmail.com
Whole thread Raw
In response to Move datapath  (Rajesh Kumar <rajeshkumar.dba09@gmail.com>)
Responses Re: Move datapath
List pgsql-admin

Hello Rajesh,

did you try doing backup from pg24 and then restoring it in pg25 ---> you can use pg_dum or pg_restore

Regards,

Mohit


On Thu, 16 Jan 2025, 00:55 Rajesh Kumar, <rajeshkumar.dba09@gmail.com> 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 .

pgsql-admin by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Move datapath
Next
From: Laurenz Albe
Date:
Subject: Re: Need an idea to operate massive delete operation on big size table.