pg_restore -U sam -d SamDataBase -1 SamDataBaseBackup.sql
# First create DATABASE sudo su postgres # enter password createdb testdb psql db_name < dump.sql