reducing migration time of a large size postgresql database
Bit of a FAQ.


pg_upgrade with --link (but understand that you can't easily go back);
Logical streaming replication with pglogical
Trigger-based logical replication with Londiste etc


Search for zero or low downtime PostgreSQL major version upgrade.