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