Postgres storage migration

From: Rajesh Kumar <rajeshkumar(dot)dba09(at)gmail(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Postgres storage migration
Date: 2023-12-08 09:43:38
Message-ID: CAJk5Ata3U1_BaLHiFoa31OkJ2RkmEuHxHWQi1gUNAqR_j-AS2Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Paul Smith* 2023-12-08 10:09:52 Re: Postgres storage migration
Previous Message Ron Johnson 2023-12-07 21:31:54 Re: Pg_dump