-
-
Save ismarsantos/50731bd59933155e6f02680ff30bdc13 to your computer and use it in GitHub Desktop.
hatchbox restore postgres db
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
# cd into the backup | |
tar -xvf DATABASE.tar | |
cd DATABASE/databases | |
gunzip -k PostgreSQL.sql.gz | |
psql DATABASE_URL < Postgresql.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment