Restaurar o arquivo de script postgres

psql -U user_name -W  -f file_name.bak 
Chit Swe Lin