To restore the database gzip file to a database,
gunzip < backup_database.sql.gzip | psql -d <db_name>
if you want to restore from .sql file then
psql -d new_database_name -f /path/to/your/sql/file.sql
To restore the database gzip file to a database,
gunzip < backup_database.sql.gzip | psql -d <db_name>
if you want to restore from .sql file then
psql -d new_database_name -f /path/to/your/sql/file.sql
For further actions, you may consider blocking this person and/or reporting abuse
Snigdho Dip Howlader -
Aamir Khan -
Riken Shah -
Peter Kraft -
Top comments (0)