Answers for "using psql to restore a database"

SQL
2

restore postgres database from sql file

psql -d database_name -f backup.sql
Posted by: Guest on July-08-2020
1

restore postgres database from dump

psql -U username -d dbname < filename.sql
Posted by: Guest on September-10-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language