Migration Postgres SQL Server from 9.6 to 12

Hi All,

I am trying to migrate an existing Postgres 9.6 database hosted in GCE to 12

In order to do that I exported all the databases to a storage bucket and created a new Postgres instance running on version 12.

Then I recreated all users that existed on my original DB to the new one and imported all dumps.

All successful.

My original instance is dev-pgsql-01 running 9.6 and the new one is dev-pgsql-02

I deleted the dev-pgsql-01 (9.6) so I could clone dev-pgsql-02 to a brand new v12 dev-pgsql-01.

Surprise - basically it does not work because google is caching the name up to a week.

Do you know how to stop it?

Andrea

Did you tried usual on in-house tool Database Migration Service for this ? https://cloud.google.com/database-migration/docs