On Mon, 2022-11-07 at 11:02 +0100, Pilar de Teodoro wrote:
> We have a very large database of 37TB and we had to promote our standby to primary due to
> some disk failures. Now the issues are solved, we would like to make standby the old primary
> from a copy of the new primary which is already in place. Is it possible without using pg_basebackup?
That's exactly what "pg_rewind" is for. It is a fast version of "pg_basebackup" for exactly
that case.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com