For example, to create a schema dump file for the dvdrental database: pg_dump -o -h localhost -U postgres -d dvdrental -s -O -x > dvdrentalSchema.sql For more information about using the pg_dump ...
For more information about using the pg_dump utility, see the examples in the pg-dump tutorial. Create an empty database in your target environment, which is Azure Database for PostgreSQL. For details ...