Migrate PostgreSQL DB to a new server

Hi All,
actually my Keycloak (15.0.2) is configured to work with a PostgreSQL (v9.6.6 installed on a different server). Now I have to move the database to another Server where is already installed PostgreSQL (v11.10).
Is there an easy way to migrate the database?

Thansk in advance