I've dumped a database from a single standard postgres database (official docker image). It was originally migrated from sqlite, but I couldn't use pgloader with the target cluster of 4 replicating postgres servers (probably because of password hashing issues).
I know have a pg_dump file. However, when I run pg_restore towards the cluster-leader (everything is postgres v17), the database size goes up (listed with \l+). But nothing shows up in the tables. If I run VACUUM FULL the size goes back to empty. I have the tables allready created in the target db (since owner, and other parameters may be mismatching).
I also tried using pg_restore to a sql file and then just run psql with \i file, looks like everything works, but nothing shows up in the database.
The dump file (-Fc) is about 40 Gb, the sql file is about 75 gb. This is only three tables, with almost all data in one of the tables.
Any idea on what is happening? Would it make a difference to just have a leader postgres, and add replicas later?