0

Trying to import a database.

Followed this documentation Restore: $ psql -U {user-name} -d {desintation_db}-f {dumpfilename.sql}

http://www.thegeekstuff.com/2009/01/how-to-backup-and-restore-postgres-database-using-pg_dump-and-psql/

enter image description here

What am I doing wrong?

1 Answer 1

2

You should run psql from a shell, not from a psql instance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.