Postgres storage migration - Mailing list pgsql-admin

From Rajesh Kumar
Subject Postgres storage migration
Date
Msg-id CAJk5Ata3U1_BaLHiFoa31OkJ2RkmEuHxHWQi1gUNAqR_j-AS2Q@mail.gmail.com
Whole thread Raw
Responses Re: Postgres storage migration
Re: Postgres storage migration
Re: Postgres storage migration
List pgsql-admin
Hi

We are using openshift environment and postgres version 15.2. We want to change storage from ceph to local storage. So, Storage team made default storage as local. Now, I created a new cluster with same postgres version and I am planning to take backup from old cluster to new cluster. Size is 100gb. Ram 24gb, cpu 2.

My question is, is there a combination of pg_dump and pg_restore that takes less time to complete the task?

Last time it took more than 8hours. We were taking schema only dump using dumpall . Then data only backup using pg_dump in directory format.

pgsql-admin by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Pg_dump
Next
From: Paul Smith*
Date:
Subject: Re: Postgres storage migration