I exported a postgres db from pgAdmin in a plain format because I wanted to search the whole db text. I then tried to restore the database back but it gives an error saying that the archive file is not valid archive file. How do I restore the db back if it can be restored?
Asked
Active
Viewed 5.7k times
-Uneeds to be your user name not the data base name. psql -U your_user_name your_db_name < your_dump_file – al gh Oct 05 '13 at 04:19