Export database
The shortcut command to export the DB from the console
We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
pg_dump db_name > backup.sql
pg_dump -a db_name > backup.sql
pg_dump -d db_name -t locations_table > locations.sql
Create the database first if it does not exist. You need to make sure the database exists.
pg_dump db_name < backup.sql
pg_dump --help