Migrate visibility store from Elastic Search to Postgres

Hi!
We are currently running Eleastic Search as our visibility store on a self hosted Temporal v1.23.1

We want to migrate From ES to Postgres. It seems to me that the recommended way of migrating is through Dual visibility, but this is not supported for ES → Postgres as far as I understand the documentation. I tried to enable dual visibility, but received an error message indicating that it is not possible (as stated by the documentation).

Do you have any pointers on how to do the migration without any data loss? We are in production so we should have minimum downtime, and no data loss.