Skip to content

Instantly share code, notes, and snippets.

@sebyx07
Created February 24, 2021 19:14
Show Gist options
  • Select an option

  • Save sebyx07/d35d4eea737f8cddd0d059317c3437c3 to your computer and use it in GitHub Desktop.

Select an option

Save sebyx07/d35d4eea737f8cddd0d059317c3437c3 to your computer and use it in GitHub Desktop.

Revisions

  1. sebyx07 created this gist Feb 24, 2021.
    6 changes: 6 additions & 0 deletions description.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # cd into the backup

    tar -xvf DATABASE.tar
    cd DATABASE/databases
    gunzip -k PostgreSQL.sql.gz
    psql DATABASE_URL < Postgresql.sql