SyntaxFix
Write A Post
Hire A Developer
Questions
You should use something like this pg_dump --schema=your_schema_name db1, for details take a look here
pg_dump --schema=your_schema_name db1