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
Gichuki Edwin -
Ashish Prajapati -
Franck Pachot -
Kamal Mustafa -
Top comments (0)