You can export your filtered data to new table in the database. This should be an empty table created from your source table's schema. Then you can export that new table in full with pg_dump