Last active
May 4, 2017 12:24
-
-
Save dividead/a55997188499cfb3cdab120305954013 to your computer and use it in GitHub Desktop.
This file contains 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
brew install postgres | |
createdb `whoami` | |
psql -U postgres | |
(pg_restore | psql) -U postgres -d xx < xx.dump | |
dokku postgres:export brain > brain_dump.sql | |
scp root@server.com:brain_dump.sql ~/Downloads | |
pg_restore -U postgres -d brain < brain_dump.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment