Created
February 24, 2021 19:14
-
-
Save sebyx07/d35d4eea737f8cddd0d059317c3437c3 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