I have tried to find a way to backup my database design without including the data stored in the database. Actually, one might say that I want to have a file that holds all
You can use this from psql(terminal):
pg_dump -s databasename > file.dump
from pg_dump documentation the "-s" dump only the object definitions (schema), not data.
pg_dump documentation