Skip to content

Instantly share code, notes, and snippets.

@sebyx07
Created February 24, 2021 19:14
hatchbox restore postgres db
# 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