Dump DB Script, run under command line:
pg_dump -U postgres -Fc db_name > dbbackup.dump
Notes:
if zsh: command not found: pg_dump
happened
add PATH="/Applications/Postgres.app/Contents/MacOS/bin:$PATH"
to ~/.bash_profile
Resources:
Dump DB Script, run under command line:
pg_dump -U postgres -Fc db_name > dbbackup.dump
Notes:
if zsh: command not found: pg_dump
happened
add PATH="/Applications/Postgres.app/Contents/MacOS/bin:$PATH"
to ~/.bash_profile
Resources: