PostgreSQL pg_dump custom file input not dumping data
I usually do this and I do not have that problem.

Backup

pg_dump -p 5432 -U postgres -Fc -d postgres -f /tmp/postgres.custom


Restoration

pg_restore -d postgres -p 5432 -U postgres -C /tmp/postgres.custom