Created
June 21, 2019 20:12
-
-
Save bq1990/2c88da6f9c0bdefbdbc108b2e393addc to your computer and use it in GitHub Desktop.
Heroku pull db using sql dump
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
heroku run 'pg_dump -xO $DATABASE_URL' -a myapp | psql mydb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment