Take pg_dump with cluster version

pg_dump --cluster=12/main -h hostname -U username database > dbname.sql

Comments