@Gargron @freemo
What about pg_upgradecluster? I've used it since 2012 to upgrade webcookies.org Postgres database (~95 GB) through all the versions, now on 12, it's fast and reliable.