Thank you guys... good to know that pg_dump does all the job for me :) So.. If I only dump using the --schema-only option, it will dump all the schemas, constraints, indexes and tables?
Because probably, I'll have to import the data manually. NOt in a single pg_restore I mean. (AWS issue)