Created
April 30, 2019 04:41
-
-
Save sanjaykrishnan/cddab0f54319bdba6cd3bc3b1b466982 to your computer and use it in GitHub Desktop.
Postgres dump restore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg_restore -U fmfb_user -h localhost --password -d fmfb_db < /home/sayone/Downloads/12sep18-dump |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo su postgres
psql -p 5433
to connect postgres 10 to port 5433