Skip to content

Instantly share code, notes, and snippets.

@sanjaykrishnan
Created April 30, 2019 04:41
Show Gist options
  • Save sanjaykrishnan/cddab0f54319bdba6cd3bc3b1b466982 to your computer and use it in GitHub Desktop.
Save sanjaykrishnan/cddab0f54319bdba6cd3bc3b1b466982 to your computer and use it in GitHub Desktop.
Postgres dump restore
pg_restore -U fmfb_user -h localhost --password -d fmfb_db < /home/sayone/Downloads/12sep18-dump
@sanjaykrishnan
Copy link
Author

sudo su postgres
psql -p 5433

to connect postgres 10 to port 5433

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment