by devxpy · 6y ago · 0 comments
dropdb $PGDATABASE || true createdb -T template0 $PGDATABASE pg_dump $DUMP_DATABASE | psql -q $PGDATABASE